Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 216.8 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.288/3.288, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.27 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3641, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00194/0.366, allocations: 0.7312 MB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3676, allocations: 1.168 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.3676, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3676, allocations: 3.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.3677, allocations: 3.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.3682, allocations: 145.7 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3684, allocations: 111.8 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.3684, allocations: 15.98 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.3685, allocations: 47.91 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.3686, allocations: 43.81 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3686, allocations: 12 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.3687, allocations: 16 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.3687, allocations: 15.97 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.3688, allocations: 43.84 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.369, allocations: 111.9 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.369, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.369, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.369, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 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.0005747/0.3696, allocations: 335.8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3696, allocations: 8.031 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.3697, allocations: 46.62 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3697, allocations: 4.938 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3698, allocations: 118.4 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3698, allocations: 8.375 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3699, allocations: 8.375 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.37, allocations: 66.2 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3701, allocations: 3.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3701, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3701, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3703, allocations: 39.95 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.3707, allocations: 283.8 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3709, allocations: 58.61 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3711, allocations: 32.95 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3711, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.3713, allocations: 91.3 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3713, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004553/0.3718, allocations: 145.9 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3718, allocations: 51.41 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3719, allocations: 125.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.372, allocations: 29.7 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.372, allocations: 92.09 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.372, allocations: 23.77 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.3721, allocations: 41.7 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3723, allocations: 326.8 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3725, allocations: 77.67 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3727, allocations: 118 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.373, allocations: 153.9 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.373, allocations: 0 / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005134/0.3735, allocations: 240.8 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.3736, allocations: 37.69 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3736, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3736, allocations: 4 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.3737, allocations: 16.05 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3737, allocations: 8.125 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3739, allocations: 27.97 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3739, allocations: 11.98 kB / 1.368 GB, free: 8.75 MB / 1.061 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 0.0001207/0.374, allocations: 128.4 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.374, allocations: 7.953 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.3741, allocations: 12.38 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3741, allocations: 3.984 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3741, allocations: 4 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3741, allocations: 0 / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.3746, allocations: 353.4 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3746, allocations: 0 / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.3746, allocations: 7.984 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3746, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3747, allocations: 4 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3747, allocations: 3.938 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3747, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.375, allocations: 207.4 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.375, allocations: 15.89 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.375, allocations: 0 / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.3751, allocations: 7.984 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.3751, allocations: 11.92 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3752, allocations: 8 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.3752, allocations: 95.2 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3752, allocations: 0 / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002633/0.3755, allocations: 24 kB / 1.369 GB, free: 7.797 MB / 1.061 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.000689/0.3762, allocations: 0.7397 MB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.3766, allocations: 193 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3766, allocations: 0 / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3767, allocations: 44.16 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.377, allocations: 14.52 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.3793, allocations: 1.808 MB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.3793, allocations: 83.12 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.3794, allocations: 4 kB / 1.372 GB, free: 4.719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3794, allocations: 27.36 kB / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3794, allocations: 0 / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.4089, allocations: 3.223 MB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 13.55 kB / 1.375 GB, free: 1.613 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.690390213392675]