Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001296/0.001296, allocations: 120.9 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001451/0.001451, allocations: 208 kB / 20.13 MB, free: 2.969 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.991/2.991, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.967, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003087/0.9701, allocations: 2.041 MB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.972, allocations: 1.357 MB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.9721, allocations: 8.312 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.9725, allocations: 165.3 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.9729, allocations: 202 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.9732, allocations: 163.2 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.9735, allocations: 335 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.9737, allocations: 42.67 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.9739, allocations: 164.6 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.974, allocations: 160.7 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.974, allocations: 13.38 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.9741, allocations: 69.78 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.9742, allocations: 87.14 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.9743, allocations: 134.6 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.9747, allocations: 378.2 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9747, allocations: 0 / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9747, allocations: 0 / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.9747, allocations: 0 / 1.327 GB, free: 21.52 MB / 1.061 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.0009327/0.9756, allocations: 0.6557 MB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9756, allocations: 12.33 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.9757, allocations: 6.625 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.9757, allocations: 39.95 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.9758, allocations: 36.95 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.9763, allocations: 382.1 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9763, allocations: 12 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.9763, allocations: 8.406 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.9766, allocations: 122.5 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9766, allocations: 1.031 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.9766, allocations: 0.875 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9766, allocations: 1.375 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.9768, allocations: 61.41 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.9776, allocations: 0.4955 MB / 1.328 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.978, allocations: 125.1 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.9781, allocations: 43.84 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.9781, allocations: 1.812 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.9784, allocations: 123.1 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.9784, allocations: 0 / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006307/0.979, allocations: 222.8 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.979, allocations: 53 kB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.9798, allocations: 0.529 MB / 1.329 GB, free: 19.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.9798, allocations: 27.3 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.9799, allocations: 176 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.9799, allocations: 38.08 kB / 1.33 GB, free: 19.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.98, allocations: 69.8 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.9801, allocations: 353.5 kB / 1.33 GB, free: 18.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.9803, allocations: 106.6 kB / 1.33 GB, free: 18.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.9806, allocations: 132.8 kB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.9809, allocations: 184.9 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9809, allocations: 0.8906 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005487/0.9815, allocations: 328.2 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9815, allocations: 4.875 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.9815, allocations: 1.094 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9815, allocations: 2.953 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.9817, allocations: 57.53 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9817, allocations: 3.281 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.9819, allocations: 19.28 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.9819, allocations: 9.891 kB / 1.331 GB, free: 18.65 MB / 1.061 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.0001659/0.9821, allocations: 180.9 kB / 1.331 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.9821, allocations: 43.03 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.9822, allocations: 34.84 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9822, allocations: 2.406 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9822, allocations: 8 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9822, allocations: 0.5625 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.9825, allocations: 302.6 kB / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9825, allocations: 0 / 1.331 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.9826, allocations: 20.28 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9826, allocations: 1.375 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.9826, allocations: 3.422 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9826, allocations: 2 kB / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9826, allocations: 0 / 1.331 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.983, allocations: 211.2 kB / 1.332 GB, free: 18.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.983, allocations: 121.7 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.9831, allocations: 2.594 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.9832, allocations: 9.188 kB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.9833, allocations: 17.41 kB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.9833, allocations: 6.234 kB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003555/0.9836, allocations: 328.9 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9836, allocations: 0 / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003116/0.9839, allocations: 67.16 kB / 1.332 GB, free: 17.8 MB / 1.061 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.001947/0.9859, allocations: 1.067 MB / 1.333 GB, free: 17.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.9864, allocations: 188.8 kB / 1.333 GB, free: 16.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.9864, allocations: 0 / 1.333 GB, free: 16.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.9865, allocations: 52.92 kB / 1.333 GB, free: 16.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.987, allocations: 89.86 kB / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.9912, allocations: 3.195 MB / 1.337 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.9915, allocations: 0.7937 MB / 1.337 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.9916, allocations: 54.53 kB / 1.338 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.9918, allocations: 110 kB / 1.338 GB, free: 14.32 MB / 1.061 GB Notification: Performance of SimCode: time 6.92e-07/0.9918, allocations: 0 / 1.338 GB, free: 14.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/1.02, allocations: 7.412 MB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.014/10.03, allocations: 8.031 kB / 1.345 GB, free: 13.3 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.711020954011474] Failed to read output from testmodel.py, exit status != 0: 10.220393912983127 10.244241464 9.265482624 Calling exit ...