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.00792/0.00792, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001867/0.001867, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 70.08 kB / 0.9505 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2509, allocations: 140.4 MB / 1.088 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001693/0.2527, allocations: 0.6669 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.2536, allocations: 0.8433 MB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.2536, allocations: 0 / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2537, allocations: 7.938 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.2537, allocations: 3.938 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.2539, allocations: 11.98 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.2539, allocations: 23.92 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.254, allocations: 4 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.2541, allocations: 15.92 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.2541, allocations: 15.92 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2541, allocations: 0 / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.2542, allocations: 4 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2542, allocations: 7.938 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.2542, allocations: 11.98 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.2543, allocations: 19.91 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2543, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2543, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2543, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 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.0004131/0.2547, allocations: 334.4 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2548, allocations: 12.03 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.2548, allocations: 30.75 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2548, allocations: 8.844 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.255, allocations: 160.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.255, allocations: 12.36 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.255, allocations: 384 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.2552, allocations: 50.19 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2552, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2552, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.2552, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2554, allocations: 39.95 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.2557, allocations: 244.9 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2558, allocations: 46.47 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.2559, allocations: 20.91 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.256, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.256, allocations: 34.56 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.256, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003721/0.2564, allocations: 77.64 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.2564, allocations: 55.41 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.2565, allocations: 106 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2565, allocations: 29.64 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.2566, allocations: 84.05 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2566, allocations: 4.562 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2566, allocations: 13.72 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.2567, allocations: 310.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.2568, allocations: 23.97 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.2569, allocations: 15.98 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.2571, allocations: 36.83 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2571, allocations: 3.938 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001993/0.2573, allocations: 69.56 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2573, allocations: 9.562 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2573, allocations: 96 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2573, allocations: 7.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.2574, allocations: 11.92 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2574, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.2575, allocations: 3.984 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2575, allocations: 4 kB / 1.091 GB, free: 14.38 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 6.425e-05/0.2576, allocations: 110.1 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2576, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.2576, allocations: 11.31 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2576, allocations: 7.984 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2576, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2577, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.2578, allocations: 165.5 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2578, allocations: 3.938 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.2579, allocations: 8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2579, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2579, allocations: 3.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2579, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2579, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2582, allocations: 167.4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.2582, allocations: 81.02 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2582, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.2583, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2584, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2584, allocations: 4.031 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.2584, allocations: 79.28 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2584, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000225/0.2586, allocations: 4 kB / 1.092 GB, free: 13.64 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.0005151/0.2592, allocations: 0.6929 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.2594, allocations: 43.89 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2594, allocations: 4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.2595, allocations: 15.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2598, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.2602, allocations: 147.4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2605, allocations: 0.6768 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.2605, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.2606, allocations: 11.42 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2606, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.2765, allocations: 1.267 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.438, allocations: 9.094 kB / 1.094 GB, free: 10.76 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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