Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.006922/0.006922, allocations: 102 kB / 15.73 MB, free: 6.039 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.001619/0.001619, allocations: 194 kB / 16.67 MB, free: 5.961 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7922, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001714/0.7939, allocations: 0.6597 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.7948, allocations: 0.844 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.7949, allocations: 0.9375 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.7949, allocations: 4.828 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.795, allocations: 3.984 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.7952, allocations: 14.08 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.7953, allocations: 24.44 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.7954, allocations: 7.859 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.7954, allocations: 9.359 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.7955, allocations: 13.19 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.7955, allocations: 2 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.7955, allocations: 2.219 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.7955, allocations: 10.17 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.7956, allocations: 14.7 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.6e-05/0.7957, allocations: 25.64 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7957, allocations: 0 / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7957, allocations: 0 / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.7957, allocations: 1.062 kB / 1.089 GB, free: 4.156 MB / 0.8575 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.0003757/0.7961, allocations: 338.6 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7961, allocations: 9.594 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.7962, allocations: 32.61 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.7962, allocations: 5.938 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.7963, allocations: 166.7 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.7963, allocations: 1.953 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.7963, allocations: 1.656 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.7965, allocations: 49.05 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7965, allocations: 3.938 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7965, allocations: 5.094 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7965, allocations: 0 / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.7967, allocations: 37.67 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.797, allocations: 241 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7971, allocations: 41.22 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.7972, allocations: 27.58 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.7973, allocations: 0.5156 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.7973, allocations: 35.44 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7973, allocations: 1.094 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.7976, allocations: 83.61 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.7977, allocations: 52.41 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.7977, allocations: 101.4 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.7977, allocations: 26.7 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.7978, allocations: 85.67 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.7978, allocations: 5.812 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.7978, allocations: 16.62 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.047e-05/0.7979, allocations: 312.2 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.798, allocations: 18.69 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.798, allocations: 17.66 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.7982, allocations: 41.97 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7982, allocations: 3.938 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.7984, allocations: 71.55 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.7984, allocations: 8.469 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.7984, allocations: 1.094 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7984, allocations: 0.6562 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.7985, allocations: 9.141 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.7985, allocations: 1.312 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.7986, allocations: 5.875 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7986, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 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 4.424e-05/0.7986, allocations: 120.9 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.7986, allocations: 1.641 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.7987, allocations: 3.734 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7987, allocations: 5 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7987, allocations: 8.641 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7987, allocations: 0.8438 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.7988, allocations: 160.1 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7988, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.7989, allocations: 8.938 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7989, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.7989, allocations: 5.516 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7989, allocations: 0 / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7989, allocations: 1 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.7991, allocations: 163.2 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.7991, allocations: 81.81 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.7992, allocations: 1.766 kB / 1.091 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.7992, allocations: 10.22 kB / 1.091 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.7993, allocations: 10.14 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.7993, allocations: 2.016 kB / 1.091 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.7993, allocations: 79.23 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7993, allocations: 3.938 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002049/0.7995, allocations: 4.312 kB / 1.092 GB, free: 1.742 MB / 0.8575 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.0004662/0.8, allocations: 0.6961 MB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.8002, allocations: 35.19 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8002, allocations: 0.6562 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.8003, allocations: 27.95 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.8006, allocations: 4.594 kB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.801, allocations: 133.3 kB / 1.092 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.8012, allocations: 0.6745 MB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.8013, allocations: 5.547 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.8013, allocations: 13.06 kB / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8013, allocations: 0 / 1.093 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.8166, allocations: 1.289 MB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.46, allocations: 3.906 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches