Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.00085/0.0008499, allocations: 98.27 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.005184/0.005184, allocations: 171 kB / 16.27 MB, free: 6.648 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.103/2.103, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 19.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5548, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.0006431/0.5555, allocations: 392.7 kB / 0.9556 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.5561, allocations: 0.8031 MB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.5561, allocations: 0 / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.5561, allocations: 0 / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.5562, allocations: 1.156 kB / 0.9564 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.5563, allocations: 6.25 kB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.5563, allocations: 24.48 kB / 0.9564 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.5564, allocations: 10.98 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.5565, allocations: 11.05 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.5565, allocations: 6.875 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.5565, allocations: 1.312 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.5565, allocations: 0.9375 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.5565, allocations: 0 / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.5566, allocations: 40.28 kB / 0.9565 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.133e-05/0.5566, allocations: 15.47 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5566, allocations: 0 / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5566, allocations: 5.531 kB / 0.9565 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.5566, allocations: 0 / 0.9565 GB, free: 6.676 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002834/0.5569, allocations: 345.2 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.557, allocations: 9.094 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.044e-05/0.557, allocations: 31.72 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.736e-05/0.557, allocations: 2.031 kB / 0.9568 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.808e-05/0.5571, allocations: 170.5 kB / 0.957 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.5571, allocations: 384 / 0.957 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.5571, allocations: 5.656 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.5573, allocations: 54.92 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5573, allocations: 3.938 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.5573, allocations: 0 / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.5573, allocations: 0.9688 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.5575, allocations: 47.94 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.5577, allocations: 257.7 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5578, allocations: 43.5 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.5579, allocations: 27.91 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.5579, allocations: 0 / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.5579, allocations: 31.66 kB / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.5579, allocations: 0 / 0.9575 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000316/0.5583, allocations: 103.4 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.5583, allocations: 52.91 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/0.5583, allocations: 106.1 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.5583, allocations: 33.77 kB / 0.9577 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.5584, allocations: 81.17 kB / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.5584, allocations: 9.094 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.5584, allocations: 10.94 kB / 0.9578 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.397e-05/0.5584, allocations: 319.9 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.5585, allocations: 17.92 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.5586, allocations: 25.86 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.5588, allocations: 48.98 kB / 0.9582 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5588, allocations: 5.188 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.5589, allocations: 77.5 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.559, allocations: 5.406 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.559, allocations: 0 / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.559, allocations: 1.094 kB / 0.9583 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.5591, allocations: 15.77 kB / 0.9583 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.5591, allocations: 1.25 kB / 0.9583 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.5591, allocations: 9.578 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.5591, allocations: 1.344 kB / 0.9583 GB, free: 4.805 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 (2): * Single equations (assignments): 2 * 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 3.954e-05/0.5592, allocations: 115.3 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.5592, allocations: 1.344 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.5594, allocations: 83.44 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5594, allocations: 1.031 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5594, allocations: 0 / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.5594, allocations: 0.9688 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.5595, allocations: 165.8 kB / 0.9587 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5595, allocations: 0 / 0.9587 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.5596, allocations: 13.19 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5596, allocations: 3.984 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.5596, allocations: 5.188 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5596, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5596, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5598, allocations: 177.6 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.5599, allocations: 77.3 kB / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.5599, allocations: 5.281 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.5599, allocations: 6.438 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.56, allocations: 13.56 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.56, allocations: 4.031 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.56, allocations: 82.53 kB / 0.9591 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.56, allocations: 0 / 0.9591 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001965/0.5602, allocations: 3.688 kB / 0.9591 GB, free: 4.059 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 (2): * Single equations (assignments): 2 * 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.0003401/0.5606, allocations: 0.7085 MB / 0.9598 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.5607, allocations: 55.89 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5608, allocations: 0 / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.5608, allocations: 24.64 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.5611, allocations: 2.688 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.5614, allocations: 139.4 kB / 0.96 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.5615, allocations: 0.6776 MB / 0.9606 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.5615, allocations: 0 / 0.9606 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.5615, allocations: 12.91 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5615, allocations: 0 / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.217/2.779, allocations: 1.015 MB / 0.9616 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/2.779, allocations: 211.3 kB / 0.9618 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/4.338, allocations: 0 / 0.9618 GB, free: 1.734 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches