Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9091, allocations: 140.4 MB / 0.9496 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003949/0.9131, allocations: 1.987 MB / 0.9515 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.9151, allocations: 1.197 MB / 0.9527 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.9153, allocations: 6.844 kB / 0.9527 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.9159, allocations: 166.4 kB / 0.9529 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.9162, allocations: 148.2 kB / 0.953 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.9167, allocations: 230.2 kB / 0.9532 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.9171, allocations: 312.5 kB / 0.9535 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.9173, allocations: 56.44 kB / 0.9536 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.9175, allocations: 134.4 kB / 0.9537 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.9177, allocations: 144 kB / 0.9538 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.9177, allocations: 13.59 kB / 0.9539 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.9179, allocations: 65.34 kB / 0.9539 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.9181, allocations: 91.86 kB / 0.954 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.9182, allocations: 120.9 kB / 0.9541 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.9187, allocations: 363.7 kB / 0.9545 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.9187, allocations: 1.125 kB / 0.9545 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9187, allocations: 0 / 0.9545 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.9187, allocations: 0 / 0.9545 GB, free: 5.793 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001113/0.9198, allocations: 0.6221 MB / 0.9551 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.9199, allocations: 9.469 kB / 0.9551 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.92, allocations: 36.59 kB / 0.9551 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.9205, allocations: 378.3 kB / 0.9555 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.9205, allocations: 7.812 kB / 0.9555 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.9206, allocations: 5.25 kB / 0.9555 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.9208, allocations: 113.2 kB / 0.9556 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9208, allocations: 4 kB / 0.9556 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.9209, allocations: 0 / 0.9556 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.9209, allocations: 2.031 kB / 0.9556 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.9211, allocations: 63.16 kB / 0.9557 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.9218, allocations: 0.4924 MB / 0.9562 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.9221, allocations: 132 kB / 0.9563 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.9223, allocations: 55.98 kB / 0.9563 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.9223, allocations: 6.438 kB / 0.9563 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.9225, allocations: 104.5 kB / 0.9564 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.9225, allocations: 0 / 0.9564 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005668/0.9231, allocations: 229.5 kB / 0.9567 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9231, allocations: 62.14 kB / 0.9567 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.9237, allocations: 0.5065 MB / 0.9572 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.9238, allocations: 31.02 kB / 0.9572 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.9239, allocations: 165.5 kB / 0.9574 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.9239, allocations: 38.62 kB / 0.9574 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.924, allocations: 69.56 kB / 0.9575 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.9241, allocations: 344.9 kB / 0.9578 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.9243, allocations: 100.9 kB / 0.9579 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.9246, allocations: 131.5 kB / 0.9581 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.9249, allocations: 184 kB / 0.9582 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9249, allocations: 0 / 0.9582 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005636/0.9255, allocations: 326.7 kB / 0.9585 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9255, allocations: 11.5 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9255, allocations: 5.188 kB / 0.9586 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9256, allocations: 1.188 kB / 0.9586 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.9258, allocations: 54.78 kB / 0.9586 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9258, allocations: 2.375 kB / 0.9586 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.926, allocations: 16.94 kB / 0.9586 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.926, allocations: 12.73 kB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001681/0.9262, allocations: 183.2 kB / 0.9588 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.9262, allocations: 29.47 kB / 0.9588 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.9263, allocations: 42.19 kB / 0.9589 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.9263, allocations: 0.8125 kB / 0.9589 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.9263, allocations: 0.8438 kB / 0.9589 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9263, allocations: 3.984 kB / 0.9589 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.9266, allocations: 293.1 kB / 0.9592 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9266, allocations: 0 / 0.9592 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.9267, allocations: 13.52 kB / 0.9592 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9267, allocations: 0.9375 kB / 0.9592 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.9267, allocations: 13.34 kB / 0.9592 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9267, allocations: 4.781 kB / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9267, allocations: 0.75 kB / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.9271, allocations: 205.6 kB / 0.9594 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.9272, allocations: 118.5 kB / 0.9595 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.9273, allocations: 10.47 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.9273, allocations: 2.656 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.9274, allocations: 27.44 kB / 0.9595 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9275, allocations: 9.156 kB / 0.9596 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003537/0.9278, allocations: 319.2 kB / 0.9599 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9278, allocations: 1.062 kB / 0.9599 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003021/0.9281, allocations: 52.16 kB / 0.9599 GB, free: 1.617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001099/0.9292, allocations: 413.4 kB / 0.9603 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.9298, allocations: 206.6 kB / 0.9605 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9298, allocations: 1.125 kB / 0.9605 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.93, allocations: 59.25 kB / 0.9606 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.9305, allocations: 92.16 kB / 0.9606 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.9314, allocations: 0.5352 MB / 0.9612 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.9316, allocations: 0.7959 MB / 0.9619 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001552/0.9318, allocations: 47.64 kB / 0.962 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.9319, allocations: 31.14 kB / 0.962 GB, free: 140 kB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.9319, allocations: 5.188 kB / 0.962 GB, free: 136 kB / 0.7169 GB Notification: Performance of Templates: time 0.009425/0.9413, allocations: 4.067 MB / 0.966 GB, free: 14.14 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches