Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008116/0.0008116, 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.0008865/0.0008865, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8856/0.8856, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.958e-06/3.958e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.44e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002484/0.002508, allocations: 1.959 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00399, allocations: 1.282 MB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.004095, allocations: 3.938 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.004467, allocations: 171.3 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.004836, allocations: 203.1 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.005259, allocations: 171.4 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.005701, allocations: 346.9 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.005831, allocations: 32.86 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.006023, allocations: 195.5 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.006184, allocations: 143.6 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.00621, allocations: 12 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.006321, allocations: 63.91 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.006398, allocations: 95.67 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.006459, allocations: 71.7 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.006788, allocations: 378.7 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.006792, allocations: 0 / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.006794, allocations: 0 / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.006798, allocations: 0 / 1.005 GB, free: 8.359 MB / 0.9636 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.0006775/0.007476, allocations: 0.5702 MB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.007509, allocations: 16.69 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.007539, allocations: 38.73 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.007587, allocations: 36.7 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.007913, allocations: 320.1 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.007929, allocations: 11.94 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.007945, allocations: 11.97 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.00811, allocations: 109.5 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.008118, allocations: 11.94 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.008129, allocations: 11.98 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.008133, allocations: 0 / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.008242, allocations: 67.89 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.008741, allocations: 447.6 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.008948, allocations: 134.7 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/0.009013, allocations: 44.83 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.009028, allocations: 8 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.009177, allocations: 114 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.009178, allocations: 7.938 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003279/0.009506, allocations: 233.3 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.009534, allocations: 51.41 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.009915, allocations: 0.5328 MB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.00993, allocations: 29.7 kB / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.01002, allocations: 176.5 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.01005, allocations: 31.75 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.01012, allocations: 77.91 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.01021, allocations: 350.8 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.01033, allocations: 104.5 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.01046, allocations: 135.6 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01065, allocations: 190.9 kB / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01066, allocations: 0 / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003233/0.01098, allocations: 338.3 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.01099, allocations: 8.062 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.011, allocations: 0 / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01101, allocations: 7.938 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.01113, allocations: 47.91 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01113, allocations: 4 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.0112, allocations: 15.89 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.01122, allocations: 15.98 kB / 1.009 GB, free: 3.902 MB / 0.9636 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.0001211/0.01134, allocations: 185.7 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.01137, allocations: 35.77 kB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.01163, allocations: 216.7 kB / 1.009 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01163, allocations: 3.938 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01163, allocations: 0 / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01164, allocations: 7.984 kB / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.0118, allocations: 256.6 kB / 1.009 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.0118, allocations: 0 / 1.009 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.01184, allocations: 12 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01184, allocations: 0 / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01185, allocations: 11.98 kB / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01185, allocations: 7.938 kB / 1.009 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01186, allocations: 4 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01206, allocations: 223.4 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.0121, allocations: 43.7 kB / 1.01 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01212, allocations: 11.98 kB / 1.01 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.01217, allocations: 3.938 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.01221, allocations: 27.95 kB / 1.01 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.01223, allocations: 11.98 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002207/0.01245, allocations: 323.1 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01245, allocations: 0 / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001957/0.01264, allocations: 67.89 kB / 1.01 GB, free: 2.402 MB / 0.9636 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.001029/0.01367, allocations: 1.104 MB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01393, allocations: 183.8 kB / 1.011 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01393, allocations: 4 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.01402, allocations: 66.72 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01429, allocations: 97.78 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.01685, allocations: 3.229 MB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.01697, allocations: 187.8 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.01707, allocations: 50.94 kB / 1.015 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.0172, allocations: 120.5 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.0172, allocations: 0 / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.03676, allocations: 8.479 MB / 1.023 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.689, allocations: 6.062 kB / 1.023 GB, free: 5.055 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.709329986944795]