Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_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.01013/0.01013, allocations: 103.5 kB / 15.74 MB, free: 5.957 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.001896/0.001896, allocations: 192.5 kB / 16.68 MB, free: 5.887 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.411/1.411, 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 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.89 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002692/1.035, allocations: 0.6569 MB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001394/1.036, allocations: 0.8468 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/1.036, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/1.036, allocations: 3.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/1.037, allocations: 3.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/1.037, allocations: 8 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/1.037, allocations: 27.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/1.037, allocations: 15.98 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/1.037, allocations: 11.94 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/1.037, allocations: 11.92 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/1.037, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/1.037, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/1.037, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/1.037, allocations: 7.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/1.037, allocations: 23.89 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.037, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.037, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.313e-06/1.037, allocations: 7.984 kB / 1.209 GB, free: 11.89 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.0005056/1.038, allocations: 337.7 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.038, allocations: 12.02 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/1.038, allocations: 30.75 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/1.038, allocations: 8.938 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.038, allocations: 160.4 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/1.038, allocations: 384 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/1.038, allocations: 4.312 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/1.038, allocations: 58.22 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.038, allocations: 3.938 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/1.038, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.038, allocations: 4 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/1.039, allocations: 31.95 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/1.039, allocations: 245 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.039, allocations: 42.44 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/1.039, allocations: 28.89 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/1.039, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.039, allocations: 30.56 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.507e-06/1.039, allocations: 0 / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/1.04, allocations: 93.48 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.04, allocations: 51.41 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/1.04, allocations: 101.8 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/1.04, allocations: 25.7 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/1.04, allocations: 88.12 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/1.04, allocations: 7.844 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/1.04, allocations: 17.84 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.04, allocations: 314.8 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/1.04, allocations: 15.98 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/1.04, allocations: 15.97 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/1.04, allocations: 36.83 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.04, allocations: 8 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/1.041, allocations: 65.66 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.041, allocations: 4 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.041, allocations: 3.938 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.041, allocations: 3.938 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/1.041, allocations: 11.98 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.041, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/1.041, allocations: 8 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/1.041, allocations: 4.031 kB / 1.211 GB, free: 9.82 MB / 0.9356 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.66e-05/1.041, allocations: 113.8 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/1.041, allocations: 3.984 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/1.041, allocations: 3.125 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.041, allocations: 0 / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.041, allocations: 0 / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.041, allocations: 4 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/1.041, allocations: 157.6 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.041, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/1.041, allocations: 11.98 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.041, allocations: 0 / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.041, allocations: 4 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.041, allocations: 4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.041, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/1.042, allocations: 171.3 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/1.042, allocations: 81.14 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.042, allocations: 0 / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/1.042, allocations: 11.92 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/1.042, allocations: 4 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.042, allocations: 0 / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.372e-05/1.042, allocations: 83.45 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.042, allocations: 0 / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002131/1.042, allocations: 4 kB / 1.211 GB, free: 9.082 MB / 0.9356 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.000562/1.043, allocations: 0.6969 MB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001941/1.043, allocations: 39.89 kB / 1.212 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.043, allocations: 4.094 kB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/1.043, allocations: 19.98 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/1.043, allocations: 5.719 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/1.044, allocations: 139.1 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.044, allocations: 0.6768 MB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.879e-05/1.044, allocations: 7.891 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/1.044, allocations: 15.5 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.044, allocations: 4 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/1.063, allocations: 1.259 MB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/8.461, allocations: 11.98 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches