Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007772/0.0007772, 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.0007664/0.0007664, 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.8648/0.8648, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.666/1.666, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.822e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001424/0.001442, allocations: 0.8805 MB / 0.9514 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.002382, allocations: 0.9294 MB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.002433, allocations: 4 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.002467, allocations: 7.875 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.002552, allocations: 15.8 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.002754, allocations: 51.88 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.002868, allocations: 127.6 kB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.002983, allocations: 33.7 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.003144, allocations: 91.73 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.003216, allocations: 43.88 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.003236, allocations: 12 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.003278, allocations: 16 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003301, allocations: 27.91 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.003332, allocations: 35.86 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.003501, allocations: 159.5 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003504, allocations: 3.938 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003505, allocations: 0 / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003509, allocations: 0 / 0.9529 GB, free: 1.055 MB / 0.9011 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.0004328/0.003942, allocations: 369.7 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.003978, allocations: 19.91 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.004009, allocations: 38.75 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.00415, allocations: 32.81 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.004344, allocations: 152.2 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.004358, allocations: 8.375 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.004372, allocations: 8.375 kB / 0.9535 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.004538, allocations: 119.6 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004545, allocations: 0 / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.004557, allocations: 0 / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004561, allocations: 0 / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.004677, allocations: 71.95 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.005113, allocations: 351.8 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.005303, allocations: 78.61 kB / 0.9541 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.005363, allocations: 40.83 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.005381, allocations: 0 / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.005401, allocations: 34.56 kB / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.005402, allocations: 0 / 0.9541 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.000252/0.005654, allocations: 125.7 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.005683, allocations: 51.41 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.005781, allocations: 164.3 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.005795, allocations: 25.7 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.005851, allocations: 116.2 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.005869, allocations: 15.86 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.005905, allocations: 29.64 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.005983, allocations: 322.8 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.00604, allocations: 31.98 kB / 0.955 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.00612, allocations: 110 kB / 0.9551 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.006211, allocations: 61.05 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006213, allocations: 3.938 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000133/0.006346, allocations: 105.5 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.006365, allocations: 10.66 kB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.00637, allocations: 3.984 kB / 0.9553 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006384, allocations: 3.938 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.006432, allocations: 8 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.006438, allocations: 3.938 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.006484, allocations: 27.86 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.006491, allocations: 0 / 0.9553 GB, free: 14.36 MB / 0.9167 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 6.601e-05/0.006557, allocations: 121.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.006577, allocations: 15.89 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.006599, allocations: 12.78 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.006602, allocations: 3.938 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.006607, allocations: 3.984 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.00661, allocations: 0 / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.006738, allocations: 168.7 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00674, allocations: 0 / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.006776, allocations: 15.98 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006778, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006785, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.006789, allocations: 7.922 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00679, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.006947, allocations: 199.7 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.006961, allocations: 11.91 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.006978, allocations: 4 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.007035, allocations: 19.92 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.00708, allocations: 15.97 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.007084, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.007141, allocations: 120.6 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007141, allocations: 0 / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001612/0.007303, allocations: 15.94 kB / 0.956 GB, free: 13.56 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: 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.0003487/0.007651, allocations: 0.7319 MB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.007815, allocations: 71.95 kB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007817, allocations: 288 / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.007871, allocations: 39.91 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.008117, allocations: 15.88 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.009352, allocations: 1.663 MB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.009475, allocations: 89.31 kB / 0.9586 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.009518, allocations: 8.719 kB / 0.9586 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.009579, allocations: 40.48 kB / 0.9586 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.00958, allocations: 4 kB / 0.9586 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02688, allocations: 3.366 MB / 0.9619 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.194, allocations: 17.23 kB / 0.9619 GB, free: 7.547 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 11.070568497292697]