Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001484/0.001484, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00179/0.00179, allocations: 195 kB / 16.26 MB, free: 6.621 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.88 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7385, allocations: 140.4 MB / 0.9493 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002819/0.7414, allocations: 0.7699 MB / 0.95 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.743, allocations: 0.8589 MB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.743, allocations: 1.062 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.7431, allocations: 11.92 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.7433, allocations: 1.031 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.7435, allocations: 19.92 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.7437, allocations: 40.66 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.7439, allocations: 9.719 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.744, allocations: 17.8 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.7441, allocations: 20.73 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.7441, allocations: 3.719 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.958e-05/0.7441, allocations: 7.875 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.7442, allocations: 13.2 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.7442, allocations: 15.45 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.7443, allocations: 42.83 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7443, allocations: 1.219 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7443, allocations: 0 / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.7443, allocations: 0 / 0.951 GB, free: 7.629 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005822/0.7449, allocations: 365.6 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.745, allocations: 13.22 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.7451, allocations: 35.97 kB / 0.9514 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.7451, allocations: 6.188 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7452, allocations: 171.8 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.7452, allocations: 5.75 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.7453, allocations: 1.688 kB / 0.9516 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.7455, allocations: 67.47 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7455, allocations: 3.938 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7456, allocations: 4 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7456, allocations: 1.531 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.7459, allocations: 62.92 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.7462, allocations: 266.4 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.7464, allocations: 61.09 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.7466, allocations: 36.08 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.7466, allocations: 3.938 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.7466, allocations: 31.88 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.7466, allocations: 4 kB / 0.9521 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005766/0.7472, allocations: 138.2 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.7473, allocations: 52.47 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.7474, allocations: 107.7 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.7474, allocations: 25.7 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.7475, allocations: 89.83 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.7475, allocations: 9.531 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.7475, allocations: 16.11 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.7476, allocations: 316.2 kB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.7478, allocations: 33.7 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.7479, allocations: 34.19 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.7482, allocations: 70.66 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7482, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000334/0.7485, allocations: 106.8 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.7486, allocations: 8.969 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7486, allocations: 3.984 kB / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7486, allocations: 0 / 0.9531 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.7488, allocations: 14.86 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7488, allocations: 3.984 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.7489, allocations: 11.95 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.7489, allocations: 0 / 0.9531 GB, free: 5.613 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.053e-05/0.749, allocations: 123.7 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.749, allocations: 2.531 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.7491, allocations: 9.125 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.7491, allocations: 0 / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.7491, allocations: 1.031 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7491, allocations: 0 / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.7493, allocations: 173.9 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7493, allocations: 0 / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.7494, allocations: 18.05 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7494, allocations: 1.156 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.7494, allocations: 8 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7494, allocations: 1.344 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7494, allocations: 0 / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.7498, allocations: 195.7 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.7498, allocations: 79.39 kB / 0.9537 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.7498, allocations: 4 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7499, allocations: 15.58 kB / 0.9537 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.75, allocations: 6.203 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.75, allocations: 0 / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.75, allocations: 94.73 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.75, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002117/0.7502, allocations: 6.75 kB / 0.9538 GB, free: 4.883 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005454/0.7508, allocations: 0.7362 MB / 0.9546 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.7511, allocations: 75.27 kB / 0.9546 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7511, allocations: 0 / 0.9546 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.7513, allocations: 41.7 kB / 0.9547 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.7516, allocations: 8.188 kB / 0.9547 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.7521, allocations: 168.9 kB / 0.9548 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7522, allocations: 0.6833 MB / 0.9555 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.7523, allocations: 1.594 kB / 0.9555 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.7523, allocations: 18.14 kB / 0.9555 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7523, allocations: 0 / 0.9555 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.7649, allocations: 1.458 MB / 0.9569 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.7652, allocations: 202 kB / 0.9571 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.653, allocations: 7.938 kB / 0.9571 GB, free: 2.238 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches