Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0008865/0.0008865, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.000965/0.000965, allocations: 215.3 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9219/0.9219, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.021/2.021, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008922/0.0008922, allocations: 71.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7777, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001946/0.7797, allocations: 0.8773 MB / 1.353 GB, free: 0.8125 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7807, allocations: 0.925 MB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.7808, allocations: 4 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.7808, allocations: 15.8 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.7809, allocations: 11.81 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.7811, allocations: 51.88 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.7812, allocations: 127.6 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.7814, allocations: 37.5 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.7815, allocations: 59.77 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.7816, allocations: 51.7 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.7816, allocations: 16 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.7817, allocations: 20 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.7817, allocations: 23.91 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.7818, allocations: 43.8 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.782, allocations: 165.5 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.782, allocations: 4 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.782, allocations: 0 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.782, allocations: 0 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004876/0.7825, allocations: 357.8 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7825, allocations: 12.92 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.7825, allocations: 42.73 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.7827, allocations: 36.77 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.7829, allocations: 159 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7829, allocations: 12.31 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.783, allocations: 15.94 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.7831, allocations: 95.36 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7832, allocations: 8 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.7832, allocations: 4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7832, allocations: 3.984 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.7833, allocations: 71.95 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.7838, allocations: 343.6 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.784, allocations: 82.58 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.7841, allocations: 44.84 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.7841, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.7841, allocations: 38.5 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.7841, allocations: 0 / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002925/0.7844, allocations: 121.9 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.7844, allocations: 55.34 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.7845, allocations: 160.4 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.7846, allocations: 29.7 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.7846, allocations: 112.3 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.7846, allocations: 19.83 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.7847, allocations: 25.72 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.7848, allocations: 322.8 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.7849, allocations: 31.97 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.785, allocations: 105.9 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.7851, allocations: 56.83 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7851, allocations: 3.938 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001718/0.7852, allocations: 117.5 kB / 1.357 GB, free: 12.6 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7852, allocations: 8 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7853, allocations: 0 / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7853, allocations: 0 / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.7853, allocations: 19.92 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7853, allocations: 0 / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.7854, allocations: 11.98 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.7854, allocations: 4 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 7.934e-05/0.7855, allocations: 126.3 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.7855, allocations: 15.84 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.7855, allocations: 20.7 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.7855, allocations: 0 / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7855, allocations: 0 / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7855, allocations: 0 / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.7857, allocations: 176.6 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7857, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.7858, allocations: 15.92 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7858, allocations: 0 / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7858, allocations: 8 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7858, allocations: 0 / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7858, allocations: 4.219 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.786, allocations: 191.4 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.786, allocations: 19.88 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.786, allocations: 7.938 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.7861, allocations: 8 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.7861, allocations: 19.95 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.7861, allocations: 4 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.7862, allocations: 120.6 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7862, allocations: 0 / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002333/0.7864, allocations: 12 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0004022/0.7868, allocations: 0.7384 MB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.787, allocations: 75.94 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.787, allocations: 4 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.7871, allocations: 35.92 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.7874, allocations: 8 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.7888, allocations: 1.643 MB / 1.36 GB, free: 9.148 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.7889, allocations: 89.19 kB / 1.36 GB, free: 9.043 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.08e-05/0.7889, allocations: 8.656 kB / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.789, allocations: 39.42 kB / 1.361 GB, free: 8.996 MB / 1.042 GB Notification: Performance of SimCode: time 5.62e-07/0.789, allocations: 0 / 1.361 GB, free: 8.996 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0952/0.8842, allocations: 3.23 MB / 1.364 GB, free: 5.91 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/8.226, allocations: 5.828 kB / 1.364 GB, free: 5.906 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu) > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.055760174058378]