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.006191/0.006191, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001694/0.001694, allocations: 202.4 kB / 16.68 MB, free: 5.965 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: 4.156 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.475/2.475, allocations: 437.1 MB / 0.7106 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001586/0.2657, allocations: 0.6594 MB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.2666, allocations: 0.8666 MB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.2666, allocations: 0 / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.2667, allocations: 0 / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.2667, allocations: 3.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.2668, allocations: 8 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.2669, allocations: 19.92 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.267, allocations: 8 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.267, allocations: 11.98 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.267, allocations: 15.91 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2671, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.2671, allocations: 4 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2671, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.2671, allocations: 11.88 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.36e-05/0.2672, allocations: 19.91 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2672, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2672, allocations: 7.938 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2672, allocations: 0 / 1.168 GB, free: 5.551 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.0003829/0.2676, allocations: 339.7 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2676, allocations: 12.03 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.2677, allocations: 34.73 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.623e-05/0.2677, allocations: 4.938 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2678, allocations: 164.3 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.2678, allocations: 384 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2678, allocations: 4.375 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.268, allocations: 50.22 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.268, allocations: 7.938 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-06/0.268, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.268, allocations: 0 / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2682, allocations: 39.89 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.2684, allocations: 241 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2686, allocations: 42.5 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2687, allocations: 28.89 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2687, allocations: 3.984 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.2687, allocations: 30.56 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2687, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003112/0.269, allocations: 85.58 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2691, allocations: 51.53 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.2692, allocations: 101.9 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2692, allocations: 29.7 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.2692, allocations: 80.14 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.2693, allocations: 7.938 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.2693, allocations: 13.72 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2694, allocations: 318.8 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.2695, allocations: 11.98 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.2696, allocations: 23.98 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2697, allocations: 40.75 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.2697, allocations: 3.938 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.2699, allocations: 69.61 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.27, allocations: 10.44 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.27, allocations: 4 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.27, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.27, allocations: 4 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.2701, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.2701, allocations: 7.984 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2701, allocations: 3.938 kB / 1.17 GB, free: 3.484 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 7.221e-05/0.2702, allocations: 117.8 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.2702, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.2702, allocations: 11.11 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2702, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2703, allocations: 8 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.2703, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2704, allocations: 157.6 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2704, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.2705, allocations: 11.92 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2705, allocations: 4 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.2705, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2705, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2705, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.2708, allocations: 163.5 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.2708, allocations: 81.06 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.2708, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.2709, allocations: 7.984 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.2709, allocations: 4.031 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2709, allocations: 4 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.271, allocations: 87.44 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.271, allocations: 4 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001969/0.2712, allocations: 3.938 kB / 1.17 GB, free: 2.734 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.0005413/0.2717, allocations: 0.7007 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.2719, allocations: 35.91 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.272, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.272, allocations: 27.91 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2723, allocations: 8.156 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.2726, allocations: 127.1 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2729, allocations: 0.6768 MB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.623e-05/0.2729, allocations: 0 / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.2729, allocations: 15.44 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.273, allocations: 0 / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.2909, allocations: 1.265 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.629/9.92, allocations: 5.719 kB / 1.173 GB, free: 15.87 MB / 0.9356 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=400 --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