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.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.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.0008303/0.0008302, 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.005007/0.005007, allocations: 170 kB / 16.27 MB, free: 6.66 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.229/1.229, 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.058/2.058, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003601, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5779, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.000736/0.5787, allocations: 388.3 kB / 0.9556 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.5795, allocations: 0.8026 MB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.5795, allocations: 0 / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.5795, allocations: 1.406 kB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.5796, allocations: 3.938 kB / 0.9564 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.5797, allocations: 9.391 kB / 0.9564 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.5798, allocations: 12.97 kB / 0.9564 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.5799, allocations: 15.16 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.5799, allocations: 7.375 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.58, allocations: 15.11 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.58, allocations: 5.031 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.58, allocations: 1.281 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.58, allocations: 0 / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.5801, allocations: 32.08 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.131e-05/0.5801, allocations: 23.05 kB / 0.9565 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5801, allocations: 5.031 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5801, allocations: 0 / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.5801, allocations: 0 / 0.9565 GB, free: 6.664 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.0003386/0.5805, allocations: 346 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5805, allocations: 10.09 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.289e-05/0.5806, allocations: 30.75 kB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.959e-05/0.5806, allocations: 1.969 kB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.2e-05/0.5807, allocations: 162.7 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.5807, allocations: 384 / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.5807, allocations: 2.625 kB / 0.957 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5808, allocations: 58.08 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5809, allocations: 3.938 kB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.5809, allocations: 0 / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.5809, allocations: 1.062 kB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.5811, allocations: 51.92 kB / 0.9571 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.5813, allocations: 249.8 kB / 0.9574 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.5814, allocations: 42.97 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.5815, allocations: 36.05 kB / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5816, allocations: 1.312 kB / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.5816, allocations: 34.5 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5816, allocations: 0 / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003314/0.5819, allocations: 99.58 kB / 0.9576 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.582, allocations: 52.69 kB / 0.9576 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.582, allocations: 94.67 kB / 0.9577 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.582, allocations: 25.7 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.582, allocations: 93.19 kB / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.5821, allocations: 9.188 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5821, allocations: 9.719 kB / 0.9578 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.5821, allocations: 316.1 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.5822, allocations: 18.98 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.5823, allocations: 33.53 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5825, allocations: 49.98 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5825, allocations: 3.938 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.5827, allocations: 78.22 kB / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5827, allocations: 6.094 kB / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5827, allocations: 0 / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5827, allocations: 1.062 kB / 0.9583 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.5828, allocations: 16.36 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.5828, allocations: 1.281 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.5829, allocations: 6.125 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.5829, allocations: 0 / 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 4.307e-05/0.5829, allocations: 112.4 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.5829, allocations: 13.02 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.5832, allocations: 88.42 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5832, allocations: 0 / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5832, allocations: 0 / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5832, allocations: 1.875 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5833, allocations: 165.5 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5833, allocations: 0 / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.5834, allocations: 15.8 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5834, allocations: 1.75 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.5834, allocations: 0 / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5834, allocations: 0 / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5834, allocations: 2.031 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.5836, allocations: 179.1 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.5836, allocations: 78.73 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5836, allocations: 0 / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.5837, allocations: 10.08 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.5838, allocations: 1.562 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.5838, allocations: 1.469 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.5838, allocations: 90.42 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5838, allocations: 0 / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002005/0.584, allocations: 3 kB / 0.9591 GB, free: 4.055 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.0003668/0.5844, allocations: 0.7054 MB / 0.9598 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.5846, allocations: 50.3 kB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5846, allocations: 5.594 kB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.5847, allocations: 28.3 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.5849, allocations: 1.719 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.5852, allocations: 137 kB / 0.96 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.5854, allocations: 0.6806 MB / 0.9606 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.5854, allocations: 1.781 kB / 0.9606 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.5854, allocations: 7.438 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.5854, allocations: 1.781 kB / 0.9606 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.734/2.319, allocations: 1.017 MB / 0.9616 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/2.319, allocations: 203.1 kB / 0.9618 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/3.864, allocations: 3.234 kB / 0.9618 GB, free: 1.734 MB / 0.7169 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