Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001447/0.001447, allocations: 110 kB / 18.93 MB, free: 2.945 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.001667/0.001667, allocations: 188.3 kB / 22.23 MB, free: 5.16 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.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 75.88 kB / 1.061 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9592, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002495/0.9617, allocations: 0.7611 MB / 1.219 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.9636, allocations: 1.159 MB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.9637, allocations: 1.438 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.9637, allocations: 3.938 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.581e-05/0.9638, allocations: 17.02 kB / 1.22 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.9644, allocations: 133.2 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.9646, allocations: 121.1 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.9647, allocations: 12.33 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.9649, allocations: 49.23 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.965, allocations: 43.86 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.965, allocations: 13.69 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.9651, allocations: 21.45 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.9651, allocations: 22.19 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.9652, allocations: 35.92 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.9654, allocations: 116.5 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.9654, allocations: 0.9062 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9654, allocations: 0 / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9654, allocations: 3.938 kB / 1.221 GB, free: 1.762 MB / 0.92 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.0007453/0.9662, allocations: 408.8 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.9662, allocations: 9.625 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.9663, allocations: 10.2 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.9665, allocations: 183.7 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.9665, allocations: 7.594 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.9665, allocations: 6.781 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.9667, allocations: 64.06 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9667, allocations: 192 / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.9668, allocations: 4.812 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.9668, allocations: 4.938 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.967, allocations: 50.61 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.9676, allocations: 327.4 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.9678, allocations: 56.17 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.9679, allocations: 28.62 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9679, allocations: 7.938 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.9682, allocations: 92.36 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.9682, allocations: 3.938 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004673/0.9687, allocations: 140.3 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.9687, allocations: 56.44 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.9688, allocations: 120.4 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.9688, allocations: 31.7 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.9689, allocations: 96.81 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.9689, allocations: 17.98 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.969, allocations: 38.3 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.9692, allocations: 320.2 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.9694, allocations: 59.67 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.9696, allocations: 87.88 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.9699, allocations: 148.5 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9699, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004692/0.9703, allocations: 207.1 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.9704, allocations: 36.83 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9704, allocations: 1.062 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9704, allocations: 6.344 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.9705, allocations: 11.7 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9705, allocations: 2.25 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.9707, allocations: 40.12 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.9707, allocations: 6.469 kB / 1.223 GB, free: 15.38 MB / 0.9356 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.0001263/0.9709, allocations: 132.4 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.9709, allocations: 11.23 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.9709, allocations: 9.562 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9709, allocations: 1.125 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9709, allocations: 0.7812 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9709, allocations: 0 / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.9715, allocations: 384.3 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9715, allocations: 3.938 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.9715, allocations: 17.39 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9715, allocations: 1.188 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.9716, allocations: 5.188 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9716, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9716, allocations: 0.9062 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.9719, allocations: 204 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.972, allocations: 83.78 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.972, allocations: 9.125 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.9721, allocations: 11.89 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.9721, allocations: 10.52 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.9722, allocations: 6.25 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.9722, allocations: 91.67 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9722, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000276/0.9725, allocations: 24.72 kB / 1.224 GB, free: 14.46 MB / 0.9356 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.0001718/0.9727, allocations: 108.5 kB / 1.225 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.9731, allocations: 160.9 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9731, allocations: 0 / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.9732, allocations: 37.12 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.9735, allocations: 14.52 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.9739, allocations: 175.2 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.9743, allocations: 0.6885 MB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.9743, allocations: 3.312 kB / 1.226 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.9743, allocations: 11.78 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.9743, allocations: 0 / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.00497/0.9793, allocations: 1.478 MB / 1.227 GB, free: 12.62 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.362820307724178]