Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.000836/0.000836, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009147/0.0009147, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 0.8656/0.8656, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.193e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002604/0.002626, allocations: 1.964 MB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004167, allocations: 1.29 MB / 0.9537 GB, free: 212 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004282, allocations: 7.938 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004647, allocations: 159.3 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.005058, allocations: 215.2 kB / 0.9541 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.005355, allocations: 159.5 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.005697, allocations: 347 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.005832, allocations: 28.92 kB / 0.9546 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.006037, allocations: 195.5 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.006201, allocations: 135.7 kB / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006227, allocations: 16 kB / 0.9549 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.00634, allocations: 71.83 kB / 0.955 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.006427, allocations: 99.61 kB / 0.9551 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.006493, allocations: 71.7 kB / 0.9551 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.006844, allocations: 378.8 kB / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006847, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006848, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.006853, allocations: 0 / 0.9555 GB, free: 14.35 MB / 0.9167 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.0007212/0.007574, allocations: 0.5701 MB / 0.956 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007613, allocations: 8.031 kB / 0.9561 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.007648, allocations: 46.67 kB / 0.9561 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.007835, allocations: 40.7 kB / 0.9561 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.008205, allocations: 320.1 kB / 0.9564 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.008221, allocations: 7.938 kB / 0.9564 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.008236, allocations: 8 kB / 0.9565 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.00842, allocations: 113.6 kB / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.008427, allocations: 0 / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.00844, allocations: 4 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.008446, allocations: 0 / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.008563, allocations: 63.95 kB / 0.9566 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.009133, allocations: 463.5 kB / 0.9571 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.009352, allocations: 138.7 kB / 0.9572 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.009421, allocations: 48.77 kB / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.009436, allocations: 4 kB / 0.9573 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.009598, allocations: 115.2 kB / 0.9574 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.0096, allocations: 0 / 0.9574 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003572/0.009957, allocations: 241.2 kB / 0.9576 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.009989, allocations: 55.41 kB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.01039, allocations: 0.5289 MB / 0.9582 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.01041, allocations: 33.7 kB / 0.9582 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.0105, allocations: 160.6 kB / 0.9583 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.01053, allocations: 47.67 kB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.01061, allocations: 69.95 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.0107, allocations: 346.8 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.01082, allocations: 104.5 kB / 0.9589 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.01095, allocations: 139.6 kB / 0.959 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.01117, allocations: 191.7 kB / 0.9592 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01117, allocations: 0 / 0.9592 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003388/0.01151, allocations: 333.3 kB / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01152, allocations: 5.719 kB / 0.9595 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01153, allocations: 0 / 0.9595 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01154, allocations: 7.938 kB / 0.9595 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01167, allocations: 55.97 kB / 0.9596 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01168, allocations: 4 kB / 0.9596 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.01175, allocations: 15.89 kB / 0.9596 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.01178, allocations: 11.98 kB / 0.9596 GB, free: 9.902 MB / 0.9167 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.0001258/0.0119, allocations: 189.5 kB / 0.9598 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01193, allocations: 39.7 kB / 0.9598 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.01221, allocations: 204.7 kB / 0.96 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01221, allocations: 7.875 kB / 0.96 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01222, allocations: 4 kB / 0.96 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01222, allocations: 0 / 0.96 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01239, allocations: 256.6 kB / 0.9603 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.0124, allocations: 0 / 0.9603 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.01244, allocations: 23.92 kB / 0.9603 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01244, allocations: 4 kB / 0.9603 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01245, allocations: 3.984 kB / 0.9603 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01245, allocations: 3.938 kB / 0.9603 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01246, allocations: 0 / 0.9603 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.01268, allocations: 224.8 kB / 0.9605 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.01272, allocations: 47.7 kB / 0.9606 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01274, allocations: 3.984 kB / 0.9606 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.01279, allocations: 15.94 kB / 0.9606 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.01284, allocations: 19.97 kB / 0.9606 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01285, allocations: 4 kB / 0.9606 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002252/0.01308, allocations: 331.1 kB / 0.9609 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 0.9609 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002125/0.01329, allocations: 59.94 kB / 0.961 GB, free: 8.418 MB / 0.9167 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001068/0.01436, allocations: 1.109 MB / 0.9621 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01464, allocations: 183.8 kB / 0.9623 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01464, allocations: 7.938 kB / 0.9623 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.01472, allocations: 63.62 kB / 0.9623 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01501, allocations: 104.3 kB / 0.9624 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.01776, allocations: 3.231 MB / 0.9656 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01788, allocations: 187.8 kB / 0.9658 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.01799, allocations: 54.94 kB / 0.9658 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01811, allocations: 116.5 kB / 0.9659 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/0.01811, allocations: 0 / 0.9659 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.0412, allocations: 8.486 MB / 0.9742 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.062, allocations: 2.438 kB / 0.9742 GB, free: 11.07 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 10.995325773954391]