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.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.001365/0.001365, allocations: 106.6 kB / 16.45 MB, free: 6.504 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.001302/0.001302, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.083/3.083, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> 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 0.00266/0.00266, allocations: 74.03 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3631, allocations: 173.9 MB / 1.304 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004099/0.3672, allocations: 2.001 MB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3696, allocations: 1.2 MB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.3697, allocations: 7.938 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.3702, allocations: 159.4 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.3706, allocations: 159.4 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.3713, allocations: 227 kB / 1.308 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.3717, allocations: 319.1 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.3719, allocations: 40.59 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.3721, allocations: 147.4 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.3723, allocations: 159.5 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.3724, allocations: 16 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3725, allocations: 63.91 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3727, allocations: 91.67 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3728, allocations: 127.1 kB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.3733, allocations: 362.4 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3733, allocations: 0 / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.168e-06/0.3733, allocations: 4 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3733, allocations: 0 / 1.309 GB, free: 12.5 MB / 1.014 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.001157/0.3745, allocations: 0.6377 MB / 1.31 GB, free: 11.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3745, allocations: 12.62 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.3746, allocations: 34.75 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.3747, allocations: 40.69 kB / 1.31 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.3753, allocations: 370.2 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3753, allocations: 11.98 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3753, allocations: 8 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3756, allocations: 117.5 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3756, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3756, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3756, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3758, allocations: 63.95 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.3767, allocations: 0.4887 MB / 1.311 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.3771, allocations: 126.8 kB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3772, allocations: 48.83 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3772, allocations: 0 / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.3775, allocations: 127.1 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3775, allocations: 4 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005342/0.378, allocations: 213.3 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3781, allocations: 59.41 kB / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.3787, allocations: 0.5054 MB / 1.312 GB, free: 9.453 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3788, allocations: 33.7 kB / 1.312 GB, free: 9.414 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3789, allocations: 168.4 kB / 1.312 GB, free: 9.246 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3789, allocations: 35.73 kB / 1.312 GB, free: 9.211 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3791, allocations: 73.95 kB / 1.312 GB, free: 9.129 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3792, allocations: 342.8 kB / 1.312 GB, free: 8.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.3794, allocations: 108.4 kB / 1.312 GB, free: 8.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3797, allocations: 131.6 kB / 1.313 GB, free: 8.543 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.38, allocations: 184.5 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.38, allocations: 0 / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005695/0.3806, allocations: 317.3 kB / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3806, allocations: 11.92 kB / 1.313 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3806, allocations: 0 / 1.313 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3807, allocations: 4 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3809, allocations: 51.91 kB / 1.313 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3809, allocations: 7.938 kB / 1.313 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.381, allocations: 19.95 kB / 1.313 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.3811, allocations: 11.98 kB / 1.313 GB, free: 7.934 MB / 1.014 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.0002119/0.3813, allocations: 189.5 kB / 1.313 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.3813, allocations: 35.7 kB / 1.313 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.3814, allocations: 39.12 kB / 1.313 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3814, allocations: 0 / 1.313 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3814, allocations: 0 / 1.313 GB, free: 7.668 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3814, allocations: 3.938 kB / 1.313 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.3818, allocations: 301.4 kB / 1.314 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3818, allocations: 7.938 kB / 1.314 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.3818, allocations: 15.98 kB / 1.314 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.3818, allocations: 11.92 kB / 1.314 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3819, allocations: 4 kB / 1.314 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3819, allocations: 0 / 1.314 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3819, allocations: 4 kB / 1.314 GB, free: 7.277 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.3822, allocations: 200.9 kB / 1.314 GB, free: 7.062 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.3824, allocations: 120.8 kB / 1.314 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3824, allocations: 11.98 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.3825, allocations: 0 / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.3826, allocations: 19.97 kB / 1.314 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3826, allocations: 11.94 kB / 1.314 GB, free: 6.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003717/0.383, allocations: 319.1 kB / 1.314 GB, free: 6.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 1.314 GB, free: 6.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003009/0.3833, allocations: 51.94 kB / 1.314 GB, free: 6.52 MB / 1.014 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.002202/0.3855, allocations: 1.072 MB / 1.315 GB, free: 5.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.3859, allocations: 179.8 kB / 1.316 GB, free: 5.414 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3859, allocations: 0 / 1.316 GB, free: 5.414 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3861, allocations: 56.09 kB / 1.316 GB, free: 5.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.3866, allocations: 88.39 kB / 1.316 GB, free: 5.281 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.3909, allocations: 3.121 MB / 1.319 GB, free: 2.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3913, allocations: 0.7831 MB / 1.32 GB, free: 1.266 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000155/0.3915, allocations: 50.95 kB / 1.32 GB, free: 1.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.3917, allocations: 111.4 kB / 1.32 GB, free: 1.109 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/0.3917, allocations: 0 / 1.32 GB, free: 1.109 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.4276, allocations: 7.194 MB / 1.327 GB, free: 10.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.27, allocations: 12.5 kB / 1.327 GB, free: 10.01 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.001617976929992]