Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.0009732/0.0009733, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009236/0.0009236, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.288/2.288, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.564, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001808/0.5659, allocations: 0.7434 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.5667, allocations: 0.8001 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.5667, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.5668, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.5668, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.567, allocations: 12 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.567, allocations: 23.92 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.5671, allocations: 4 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.5672, allocations: 15.92 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.5672, allocations: 0 / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5672, allocations: 4 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.5672, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.5673, allocations: 11.92 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.5673, allocations: 7.984 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.33e-05/0.5674, allocations: 27.91 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5674, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5674, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.5674, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 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.0003748/0.5678, allocations: 333.8 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5678, allocations: 12.03 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.5678, allocations: 34.69 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.5679, allocations: 4.844 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.568, allocations: 168.4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.568, allocations: 4.375 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.568, allocations: 4.375 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.5682, allocations: 46.23 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5682, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5682, allocations: 4 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5682, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.5684, allocations: 31.97 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.5687, allocations: 252.9 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5688, allocations: 38.5 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.5689, allocations: 24.84 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5689, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.5689, allocations: 34.56 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.5689, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003266/0.5693, allocations: 85.58 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5693, allocations: 51.41 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.5694, allocations: 105.8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5694, allocations: 25.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.5694, allocations: 84.27 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.5695, allocations: 11.84 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.5695, allocations: 13.72 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.5696, allocations: 318.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.5697, allocations: 15.98 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.5698, allocations: 11.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.5699, allocations: 44.88 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5699, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001871/0.5701, allocations: 69.52 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5701, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5702, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5702, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.5703, allocations: 20.02 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5703, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.5703, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5703, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 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 6.592e-05/0.5704, allocations: 110.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5704, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.5707, allocations: 76.72 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5707, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5707, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5707, allocations: 3.984 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.5708, allocations: 161.6 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5708, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.5709, allocations: 7.984 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.5709, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.5709, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5709, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.5709, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.5712, allocations: 167.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.5712, allocations: 81.05 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5712, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.5713, allocations: 11.92 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.5713, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5713, allocations: 4.031 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.5714, allocations: 79.28 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5714, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002063/0.5716, allocations: 8 kB / 1.021 GB, free: 14.24 MB / 0.7794 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.000499/0.5721, allocations: 0.7045 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.5723, allocations: 35.91 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5723, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.5724, allocations: 19.97 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.5727, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.5731, allocations: 138.6 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.5733, allocations: 0.677 MB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.5733, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.5733, allocations: 7.438 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5733, allocations: 0 / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.5839, allocations: 1.065 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.5841, allocations: 212.8 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.137, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches