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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007967/0.0007967, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004768/0.004768, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 13.97 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2557, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.0007253/0.2564, allocations: 408.5 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.2572, allocations: 0.8508 MB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2573, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2573, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.2573, allocations: 4 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2575, allocations: 7.938 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.2575, allocations: 23.92 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.2576, allocations: 4 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.2577, allocations: 11.92 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.2577, allocations: 15.98 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2577, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.2577, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2577, allocations: 11.92 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.2578, allocations: 25.7 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.226e-05/0.2578, allocations: 19.91 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2579, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2579, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2579, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 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.0003567/0.2582, allocations: 347.8 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2583, allocations: 15.97 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.2583, allocations: 30.75 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.813e-05/0.2583, allocations: 0.9375 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.2584, allocations: 172.3 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2584, allocations: 4.375 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.2585, allocations: 384 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2586, allocations: 58.23 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2586, allocations: 3.938 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.2587, allocations: 0 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2587, allocations: 0 / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2588, allocations: 47.91 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.2591, allocations: 248.9 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2592, allocations: 46.5 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.2593, allocations: 28.91 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2594, allocations: 4 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2594, allocations: 34.55 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.2594, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.2597, allocations: 97.59 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2598, allocations: 55.39 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.2598, allocations: 97.86 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2598, allocations: 29.7 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.2599, allocations: 80.27 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2599, allocations: 11.89 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2599, allocations: 9.719 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.26, allocations: 322.8 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.2601, allocations: 15.98 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.2602, allocations: 27.98 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.2603, allocations: 48.81 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2604, allocations: 11.81 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.2606, allocations: 73.73 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2606, allocations: 5.875 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2606, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.2606, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.2607, allocations: 11.98 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2607, allocations: 4.031 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.2608, allocations: 15.89 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2608, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 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 6.225e-05/0.2608, allocations: 113.8 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.2609, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.2609, allocations: 7.125 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2609, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2609, allocations: 7.984 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.261, allocations: 157.6 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.261, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.2611, allocations: 11.98 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2611, allocations: 3.938 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.2611, allocations: 3.938 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2611, allocations: 4 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2611, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.2614, allocations: 175.5 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.2614, allocations: 77.11 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.2614, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.2615, allocations: 16.2 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2615, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2615, allocations: 7.984 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.2616, allocations: 79.28 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2616, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002004/0.2618, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 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.0004929/0.2623, allocations: 0.72 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2625, allocations: 48 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2625, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.2626, allocations: 19.98 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.2628, allocations: 11.98 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.2632, allocations: 138.7 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.2634, allocations: 0.6731 MB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.2634, allocations: 3.938 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2634, allocations: 11.42 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2634, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/0.608, allocations: 1.011 MB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.6082, allocations: 200.1 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.133, allocations: 0 / 1.065 GB, free: 13.73 MB / 0.8262 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