Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005274/0.005274, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4892, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008101/0.49, allocations: 0.5854 MB / 0.9557 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.4907, allocations: 0.8747 MB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.4907, allocations: 1.156 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.4908, allocations: 11.86 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.4908, allocations: 10.69 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.491, allocations: 36.98 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.4911, allocations: 100.5 kB / 0.9568 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4912, allocations: 45.89 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.4913, allocations: 37.5 kB / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.4913, allocations: 36.31 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4914, allocations: 2.125 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.4914, allocations: 3.094 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.4914, allocations: 15.55 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.4915, allocations: 66.75 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.4916, allocations: 112.9 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4916, allocations: 3.938 kB / 0.9571 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4916, allocations: 4 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.4916, allocations: 0 / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006648/0.4922, allocations: 460.5 kB / 0.9575 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4923, allocations: 13.34 kB / 0.9575 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.4923, allocations: 37.34 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.4923, allocations: 14.31 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.4924, allocations: 190.6 kB / 0.9578 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4924, allocations: 8.344 kB / 0.9578 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.4925, allocations: 5.375 kB / 0.9578 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.4927, allocations: 98.7 kB / 0.9579 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4927, allocations: 5.062 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4927, allocations: 8 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.4927, allocations: 2.312 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.4929, allocations: 66.72 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.4934, allocations: 422.2 kB / 0.9583 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.4936, allocations: 66.52 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.4937, allocations: 34.56 kB / 0.9584 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4937, allocations: 1.562 kB / 0.9584 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.4937, allocations: 34.56 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4937, allocations: 0 / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003037/0.494, allocations: 123.7 kB / 0.9586 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.714e-05/0.494, allocations: 60.25 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.4941, allocations: 155.2 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4942, allocations: 26.86 kB / 0.9588 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.4942, allocations: 109.8 kB / 0.9589 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.4942, allocations: 17.28 kB / 0.9589 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.4942, allocations: 20.66 kB / 0.959 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.4943, allocations: 322.2 kB / 0.9593 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.4944, allocations: 34.2 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.4944, allocations: 31.77 kB / 0.9593 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4946, allocations: 55.98 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4946, allocations: 1.312 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001808/0.4948, allocations: 107.2 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4948, allocations: 5.5 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.4948, allocations: 8 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.4948, allocations: 1.375 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.4949, allocations: 12.19 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4949, allocations: 7.922 kB / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.4951, allocations: 32.59 kB / 0.9596 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4951, allocations: 1.375 kB / 0.9596 GB, free: 3.918 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 5.47e-05/0.4951, allocations: 123.3 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.4952, allocations: 11.94 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.4952, allocations: 15.05 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4952, allocations: 1.375 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4952, allocations: 3.938 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4952, allocations: 5.359 kB / 0.9597 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.4953, allocations: 199.5 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4954, allocations: 3.984 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.4954, allocations: 8.25 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4954, allocations: 0 / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4954, allocations: 9.359 kB / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4954, allocations: 0 / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4955, allocations: 3.938 kB / 0.9599 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.4956, allocations: 190 kB / 0.9601 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.4957, allocations: 95.69 kB / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4957, allocations: 0 / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4959, allocations: 32.59 kB / 0.9602 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4959, allocations: 13.42 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.496, allocations: 9.359 kB / 0.9602 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.496, allocations: 112.7 kB / 0.9604 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.496, allocations: 0 / 0.9604 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002103/0.4962, allocations: 12.38 kB / 0.9604 GB, free: 3.141 MB / 0.7169 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 (5): * Single equations (assignments): 5 * 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.0003188/0.4965, allocations: 0.7338 MB / 0.9611 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4967, allocations: 71.95 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4968, allocations: 1.375 kB / 0.9612 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.4968, allocations: 42.05 kB / 0.9612 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4971, allocations: 16.38 kB / 0.9612 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.4984, allocations: 1.644 MB / 0.9628 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.799e-05/0.4985, allocations: 0.6979 MB / 0.9635 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.4985, allocations: 7.812 kB / 0.9635 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.4986, allocations: 35.14 kB / 0.9635 GB, free: 200 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.4986, allocations: 0 / 0.9635 GB, free: 200 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.632/1.131, allocations: 2.292 MB / 0.9658 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.131, allocations: 215.5 kB / 0.966 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.732, allocations: 0 / 0.966 GB, free: 14.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches