Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.006602/0.006602, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001562/0.001562, allocations: 199.2 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.077/2.077, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.072/3.072, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.91 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002209/1.122, allocations: 0.6676 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000999/1.123, allocations: 0.7999 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/1.123, allocations: 0 / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/1.123, allocations: 0.5156 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/1.123, allocations: 5.094 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/1.123, allocations: 8.266 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.797e-05/1.123, allocations: 23.73 kB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/1.123, allocations: 9.922 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/1.123, allocations: 5.062 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/1.123, allocations: 17.8 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/1.123, allocations: 2.156 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/1.123, allocations: 2.188 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/1.123, allocations: 9.766 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/1.124, allocations: 6.953 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/1.124, allocations: 25.38 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.124, allocations: 3.938 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.124, allocations: 0 / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.124, allocations: 1.375 kB / 1.089 GB, free: 4.199 MB / 0.8575 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.0004522/1.124, allocations: 338.2 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.124, allocations: 9.844 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/1.124, allocations: 32.45 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/1.124, allocations: 6.641 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.124, allocations: 166.7 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.124, allocations: 1.469 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/1.124, allocations: 1.469 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/1.125, allocations: 52.59 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.125, allocations: 9.891 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/1.125, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.125, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/1.125, allocations: 33.16 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/1.125, allocations: 246.4 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/1.125, allocations: 48.55 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/1.125, allocations: 22.81 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.125, allocations: 1.719 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.125, allocations: 32.58 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.125, allocations: 0 / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/1.126, allocations: 87.72 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/1.126, allocations: 51.41 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/1.126, allocations: 98.12 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/1.126, allocations: 25.7 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/1.126, allocations: 89.88 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/1.126, allocations: 5.547 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/1.126, allocations: 13 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/1.126, allocations: 317.4 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/1.126, allocations: 17.41 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/1.126, allocations: 18.3 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/1.126, allocations: 37.2 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.126, allocations: 3.938 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/1.127, allocations: 76.25 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.127, allocations: 5.25 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.127, allocations: 3.938 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.127, allocations: 0.6094 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.127, allocations: 9.547 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.127, allocations: 0 / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/1.127, allocations: 7.156 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/1.127, allocations: 1.094 kB / 1.091 GB, free: 2.445 MB / 0.8575 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 7.668e-05/1.127, allocations: 119.4 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/1.127, allocations: 9.062 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/1.127, allocations: 71.5 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.127, allocations: 0.6094 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.127, allocations: 1.062 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.127, allocations: 0.5156 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/1.128, allocations: 160.2 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.128, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/1.128, allocations: 12.72 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.128, allocations: 1.094 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.128, allocations: 0.5156 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/1.128, allocations: 1.094 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.128, allocations: 0.5156 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/1.128, allocations: 166.1 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/1.128, allocations: 83.48 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/1.128, allocations: 0.6562 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/1.128, allocations: 6.016 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/1.128, allocations: 3.75 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/1.128, allocations: 4 kB / 1.091 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.136e-05/1.128, allocations: 88.73 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.128, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002244/1.128, allocations: 2.688 kB / 1.092 GB, free: 1.742 MB / 0.8575 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.0005737/1.129, allocations: 0.6972 MB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002298/1.129, allocations: 39.72 kB / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.129, allocations: 0 / 1.092 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/1.129, allocations: 24.3 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/1.13, allocations: 2.75 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/1.13, allocations: 137.6 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/1.13, allocations: 0.6759 MB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.025e-05/1.13, allocations: 5.766 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/1.13, allocations: 17.02 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.13, allocations: 0 / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/1.151, allocations: 1.273 MB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/13.12, allocations: 2.906 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches