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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005972/0.005972, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001307/0.001307, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3507, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002157/0.3529, allocations: 0.6578 MB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3539, allocations: 0.8082 MB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.354, allocations: 8 kB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.354, allocations: 3.938 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.3541, allocations: 3.938 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.3543, allocations: 7.984 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.3544, allocations: 27.92 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3545, allocations: 0 / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.3546, allocations: 11.98 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.3546, allocations: 11.92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3547, allocations: 0 / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3547, allocations: 8 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3547, allocations: 4 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.3547, allocations: 15.92 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3548, allocations: 23.91 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3549, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3549, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.3549, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 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.0004984/0.3554, allocations: 334.3 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3554, allocations: 12.03 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3555, allocations: 34.75 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.3555, allocations: 0.9375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3557, allocations: 168.3 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3557, allocations: 384 / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3557, allocations: 4.359 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3559, allocations: 50.23 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3559, allocations: 3.938 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3559, allocations: 0 / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3559, allocations: 0 / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3561, allocations: 39.95 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3565, allocations: 244.9 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3567, allocations: 46.47 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.814e-05/0.3568, allocations: 20.91 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3568, allocations: 8 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3568, allocations: 30.56 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.3568, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.3572, allocations: 89.48 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3573, allocations: 51.41 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.3574, allocations: 106 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3574, allocations: 25.7 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.3575, allocations: 80.14 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3575, allocations: 8.469 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3576, allocations: 13.72 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3577, allocations: 314.8 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.902e-05/0.3578, allocations: 19.91 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.3579, allocations: 23.92 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.358, allocations: 36.83 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.358, allocations: 3.938 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.3582, allocations: 69.59 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3582, allocations: 4 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3583, allocations: 4.094 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3583, allocations: 0 / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.3584, allocations: 11.98 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3584, allocations: 0 / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3584, allocations: 7.984 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3584, allocations: 0 / 1.17 GB, free: 3.715 MB / 0.92 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 8.607e-05/0.3585, allocations: 114.1 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3586, allocations: 4 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.3588, allocations: 68.78 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3588, allocations: 3.938 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3588, allocations: 0 / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3588, allocations: 0 / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.359, allocations: 169.5 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.359, allocations: 4 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.3591, allocations: 8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3591, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3591, allocations: 4.031 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3591, allocations: 7.984 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3591, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3594, allocations: 159.4 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3594, allocations: 81.09 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3594, allocations: 0 / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3595, allocations: 12.03 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3596, allocations: 4.172 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3596, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3596, allocations: 83.27 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3596, allocations: 3.938 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002173/0.3599, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 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.0005704/0.3604, allocations: 0.6968 MB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3607, allocations: 35.95 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3607, allocations: 3.938 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.3608, allocations: 28.02 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3611, allocations: 4 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.3616, allocations: 143.1 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3618, allocations: 0.6767 MB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.3619, allocations: 0 / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.3619, allocations: 15.42 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.3619, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.3802, allocations: 1.255 MB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/8.065, allocations: 2.672 kB / 1.173 GB, free: 32 kB / 0.92 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