Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002535/0.002535, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.003004/0.003004, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.746/1.746, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.032/3.032, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: 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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8108 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.477e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001998/0.002033, allocations: 0.7417 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.004331, allocations: 1.164 MB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.00439, allocations: 0 / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.004423, allocations: 3.938 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.004524, allocations: 16.56 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.005086, allocations: 136.5 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.0053, allocations: 116.4 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.0054, allocations: 12.88 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.005554, allocations: 67.89 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.821e-05/0.005652, allocations: 31.94 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.00569, allocations: 12.81 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.005765, allocations: 31.77 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.005794, allocations: 8.859 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.005873, allocations: 39.91 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.00612, allocations: 125 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.006125, allocations: 0 / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.006127, allocations: 0 / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.006134, allocations: 0 / 0.8133 GB, free: 15.55 MB / 0.7761 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.0007375/0.006871, allocations: 439.5 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.006915, allocations: 8.031 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.007006, allocations: 16.88 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.007183, allocations: 116.5 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.007214, allocations: 9.562 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.007241, allocations: 4.375 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.007473, allocations: 62.22 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.007488, allocations: 2 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.00751, allocations: 4.375 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.00752, allocations: 4.359 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.007677, allocations: 31.91 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.008501, allocations: 321.2 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.008747, allocations: 59.11 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.008856, allocations: 29.2 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.008877, allocations: 4 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.009145, allocations: 101.5 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.009146, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0004573/0.009603, allocations: 130.4 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.009662, allocations: 53.28 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.009838, allocations: 185.9 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.009873, allocations: 29.7 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.009983, allocations: 142.8 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.01002, allocations: 23.83 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.01011, allocations: 47.92 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002771/0.01039, allocations: 0.4884 MB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.01057, allocations: 90.38 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.01079, allocations: 137.3 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.01105, allocations: 149.8 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01105, allocations: 0 / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004811/0.01153, allocations: 253.8 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.01158, allocations: 41.33 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.0116, allocations: 7.984 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.01161, allocations: 0.8125 kB / 0.8161 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.0117, allocations: 8 kB / 0.8161 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.01171, allocations: 4.938 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.01186, allocations: 23.97 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.01188, allocations: 5.344 kB / 0.8162 GB, free: 12.3 MB / 0.7761 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.0001494/0.01203, allocations: 172.5 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.01206, allocations: 16.75 kB / 0.8164 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.0121, allocations: 12.44 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.0121, allocations: 2.094 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.0121, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0121, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.01259, allocations: 373.3 kB / 0.8167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01259, allocations: 4.062 kB / 0.8167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.01263, allocations: 4.625 kB / 0.8167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01263, allocations: 3.438 kB / 0.8167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01264, allocations: 4 kB / 0.8167 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01264, allocations: 0 / 0.8167 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01265, allocations: 0 / 0.8167 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01297, allocations: 247.8 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.01299, allocations: 11.89 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01302, allocations: 11.92 kB / 0.817 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.01308, allocations: 4 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.01313, allocations: 7.984 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.01314, allocations: 0.5 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001004/0.01324, allocations: 144.3 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01324, allocations: 0 / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002553/0.01349, allocations: 24.5 kB / 0.8172 GB, free: 11.21 MB / 0.7761 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.0001749/0.01367, allocations: 104.7 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.0141, allocations: 219 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0141, allocations: 0 / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.01422, allocations: 48.06 kB / 0.8175 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01453, allocations: 33.22 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.01496, allocations: 170.7 kB / 0.8177 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.01504, allocations: 67.34 kB / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.01508, allocations: 7.984 kB / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.01512, allocations: 12.5 kB / 0.8178 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01512, allocations: 0 / 0.8178 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.005493/0.02061, allocations: 1.58 MB / 0.8194 GB, free: 8.965 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.436825565993786]