Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7611 GB, free: 15.85 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 67.89 kB / 1.104 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002774/1.071, allocations: 0.7517 MB / 1.269 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001564/1.073, allocations: 1.157 MB / 1.271 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/1.073, allocations: 1.125 kB / 1.271 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/1.073, allocations: 4.453 kB / 1.271 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/1.073, allocations: 14.64 kB / 1.271 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/1.073, allocations: 132.2 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/1.074, allocations: 118.1 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/1.074, allocations: 11.53 kB / 1.271 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/1.074, allocations: 47.36 kB / 1.271 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/1.074, allocations: 42.16 kB / 1.271 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/1.074, allocations: 14.38 kB / 1.271 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/1.074, allocations: 24.61 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/1.074, allocations: 16.95 kB / 1.271 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/1.074, allocations: 47.08 kB / 1.271 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/1.074, allocations: 112.9 kB / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.074, allocations: 0.6875 kB / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.074, allocations: 0 / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.074, allocations: 3.938 kB / 1.271 GB, free: 6.168 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006755/1.075, allocations: 417.9 kB / 1.272 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.075, allocations: 17.31 kB / 1.272 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/1.075, allocations: 33.69 kB / 1.272 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/1.075, allocations: 6.25 kB / 1.272 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.075, allocations: 170.1 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.075, allocations: 7.688 kB / 1.272 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/1.075, allocations: 8.016 kB / 1.272 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/1.076, allocations: 70.41 kB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.076, allocations: 3.938 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.076, allocations: 1.641 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.076, allocations: 4.812 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/1.076, allocations: 46.69 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/1.076, allocations: 328.6 kB / 1.272 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/1.077, allocations: 57.14 kB / 1.272 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.077, allocations: 38.73 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/1.077, allocations: 0.9062 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/1.077, allocations: 83.86 kB / 1.272 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.077, allocations: 0 / 1.272 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004705/1.077, allocations: 152.5 kB / 1.273 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.077, allocations: 57.53 kB / 1.273 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/1.078, allocations: 121.9 kB / 1.273 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/1.078, allocations: 28.33 kB / 1.273 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/1.078, allocations: 89.53 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/1.078, allocations: 20.45 kB / 1.273 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/1.078, allocations: 38.09 kB / 1.273 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/1.078, allocations: 327.7 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/1.078, allocations: 50.53 kB / 1.273 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/1.078, allocations: 83.41 kB / 1.273 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/1.078, allocations: 145 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.078, allocations: 0.625 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000458/1.079, allocations: 214.7 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.079, allocations: 43.03 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.079, allocations: 1.375 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.079, allocations: 1.844 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/1.079, allocations: 11.86 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.079, allocations: 2.031 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/1.079, allocations: 33 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/1.079, allocations: 10.41 kB / 1.274 GB, free: 3.969 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/1.079, allocations: 133.4 kB / 1.274 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/1.079, allocations: 9.562 kB / 1.274 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/1.079, allocations: 9.406 kB / 1.274 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.079, allocations: 5.016 kB / 1.274 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.079, allocations: 0.9062 kB / 1.274 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.079, allocations: 3.938 kB / 1.274 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/1.08, allocations: 384.3 kB / 1.274 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.08, allocations: 0 / 1.274 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/1.08, allocations: 11.39 kB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.08, allocations: 0.9062 kB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.08, allocations: 0.875 kB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.08, allocations: 3.875 kB / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.08, allocations: 0 / 1.274 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/1.08, allocations: 206.7 kB / 1.275 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/1.08, allocations: 84.8 kB / 1.275 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/1.08, allocations: 6.188 kB / 1.275 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/1.08, allocations: 6.109 kB / 1.275 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/1.08, allocations: 14.73 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.08, allocations: 1.75 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.123e-05/1.08, allocations: 91.12 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.08, allocations: 0.875 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004727/1.081, allocations: 28.59 kB / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005556/1.081, allocations: 0.7498 MB / 1.275 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003602/1.082, allocations: 163.5 kB / 1.276 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.082, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/1.082, allocations: 36.47 kB / 1.276 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/1.082, allocations: 18.03 kB / 1.276 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/1.084, allocations: 1.699 MB / 1.277 GB, free: 16.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.085, allocations: 0.6932 MB / 1.278 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.172e-05/1.085, allocations: 5.578 kB / 1.278 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/1.085, allocations: 17.72 kB / 1.278 GB, free: 16.17 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.085, allocations: 0 / 1.278 GB, free: 16.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/1.111, allocations: 2.568 MB / 1.281 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/9.266, allocations: 5.953 kB / 1.281 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.434392346069217]