Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_latest_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.004558/0.004558, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001057/0.001057, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7421 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.11 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7597/0.761, allocations: 159.1 MB / 1.22 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00175/0.7628, allocations: 0.6575 MB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.7637, allocations: 0.804 MB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.7638, allocations: 0 / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.7638, allocations: 7.938 kB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.7639, allocations: 3.938 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.764, allocations: 7.984 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.7641, allocations: 23.92 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.7642, allocations: 8 kB / 1.221 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.7642, allocations: 11.92 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.7643, allocations: 4 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.7643, allocations: 4 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.7643, allocations: 0 / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.7644, allocations: 19.91 kB / 1.221 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.7644, allocations: 11.94 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.968e-05/0.7645, allocations: 15.97 kB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7645, allocations: 0 / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7645, allocations: 0 / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7645, allocations: 0 / 1.221 GB, free: 0.6133 MB / 0.9356 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.0003943/0.7649, allocations: 335.2 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7649, allocations: 12.62 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.765, allocations: 30.75 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.765, allocations: 8.891 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.7651, allocations: 180.2 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.7651, allocations: 384 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.7652, allocations: 384 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.7653, allocations: 54.17 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7653, allocations: 3.938 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.7654, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7654, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.7655, allocations: 35.97 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.7658, allocations: 248.9 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.7659, allocations: 42.5 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.766, allocations: 24.91 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.7661, allocations: 4 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.7661, allocations: 30.56 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7661, allocations: 0 / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.7664, allocations: 85.58 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.7665, allocations: 51.41 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.7666, allocations: 102 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.7666, allocations: 29.7 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.7666, allocations: 88.09 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.7666, allocations: 3.953 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.7667, allocations: 9.719 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7668, allocations: 322.8 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.7669, allocations: 11.98 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.767, allocations: 23.92 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.7671, allocations: 40.81 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7671, allocations: 3.938 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.7673, allocations: 65.61 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.7673, allocations: 4 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.7673, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.7674, allocations: 4.094 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.7674, allocations: 11.98 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7675, allocations: 0 / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.7675, allocations: 7.984 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.7675, allocations: 3.984 kB / 1.223 GB, free: 14.54 MB / 0.9512 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.393e-05/0.7676, allocations: 118.3 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.7676, allocations: 0 / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.7679, allocations: 72.72 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7679, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7679, allocations: 8 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7679, allocations: 3.938 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.768, allocations: 165.6 kB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7681, allocations: 0 / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.7681, allocations: 11.98 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7681, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.7681, allocations: 4 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7681, allocations: 4.031 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7682, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.7684, allocations: 163.6 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.7684, allocations: 77.11 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.7685, allocations: 3.984 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.7685, allocations: 12.02 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.7686, allocations: 4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.7686, allocations: 4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.7686, allocations: 79.22 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7686, allocations: 0 / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002173/0.7689, allocations: 4 kB / 1.224 GB, free: 13.72 MB / 0.9512 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.0005154/0.7694, allocations: 0.7007 MB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.7696, allocations: 31.97 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7696, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.7697, allocations: 23.92 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.77, allocations: 12.14 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.7703, allocations: 139 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7706, allocations: 0.6729 MB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.7706, allocations: 7.891 kB / 1.225 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.7707, allocations: 15.44 kB / 1.225 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7707, allocations: 0 / 1.225 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.7874, allocations: 1.263 MB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.932, allocations: 10.88 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches