Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",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.006941/0.006941, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001247/0.001247, allocations: 186.7 kB / 16.67 MB, free: 5.422 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.56/2.56, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.91 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9704/0.9719, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001714/0.9736, allocations: 0.6735 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.9745, allocations: 0.8531 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.9746, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.9746, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.9747, allocations: 3.938 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.9748, allocations: 15.97 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.9749, allocations: 19.92 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.975, allocations: 16 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.063e-05/0.9751, allocations: 11.94 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.9751, allocations: 3.984 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.9751, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.9751, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.9752, allocations: 8 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.9752, allocations: 11.92 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.005e-05/0.9753, allocations: 23.89 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9753, allocations: 0 / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9753, allocations: 0 / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.9753, allocations: 0 / 1.168 GB, free: 2.117 MB / 0.8887 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.0004192/0.9757, allocations: 345.7 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.9758, allocations: 8.922 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.9758, allocations: 34.69 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.9758, allocations: 4.938 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.9759, allocations: 160.4 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9759, allocations: 4.359 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.976, allocations: 384 / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.9761, allocations: 50.25 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9761, allocations: 3.938 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.9762, allocations: 0 / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.9762, allocations: 7.984 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.9763, allocations: 31.95 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.9766, allocations: 244.9 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.9768, allocations: 46.53 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.9769, allocations: 24.91 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.9769, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.9769, allocations: 30.56 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.9769, allocations: 3.938 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003228/0.9773, allocations: 93.48 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.9773, allocations: 51.41 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.9774, allocations: 97.84 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.9774, allocations: 33.64 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.9774, allocations: 84.14 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.9775, allocations: 7.844 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.9775, allocations: 13.72 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.9776, allocations: 323 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.9777, allocations: 11.98 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.9778, allocations: 15.98 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.9779, allocations: 36.83 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9779, allocations: 3.938 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.9781, allocations: 73.66 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.9781, allocations: 4 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9781, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9782, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.9783, allocations: 11.98 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.9783, allocations: 0 / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.9783, allocations: 7.984 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.9783, allocations: 4.031 kB / 1.17 GB, free: 48 kB / 0.8887 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.629e-05/0.9784, allocations: 117.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.9784, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.9785, allocations: 3.125 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.9785, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9785, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9785, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.9786, allocations: 165.6 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9787, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.9787, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9787, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.9787, allocations: 7.984 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9787, allocations: 7.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9787, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.979, allocations: 167.4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.979, allocations: 81.14 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.979, allocations: 3.938 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.9791, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.9792, allocations: 3.984 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.9792, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.9792, allocations: 83.28 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9792, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002122/0.9794, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 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.0005472/0.98, allocations: 0.7007 MB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.9802, allocations: 39.89 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.9802, allocations: 4.094 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.9803, allocations: 19.98 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.9806, allocations: 6.344 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.981, allocations: 135.1 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.9812, allocations: 0.6729 MB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.9813, allocations: 3.906 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.9813, allocations: 23.48 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.9813, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.9992, allocations: 1.253 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.492, allocations: 4 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches