Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.008056/0.008056, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002094/0.002094, allocations: 190.4 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.191 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: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 73.88 kB / 0.9505 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2655, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001719/0.2673, allocations: 0.6617 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.2682, allocations: 0.8004 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.2682, allocations: 4 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.2683, allocations: 4 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.2683, allocations: 3.938 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.2684, allocations: 4 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.2685, allocations: 27.92 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.2686, allocations: 3.984 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.2687, allocations: 15.92 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.2687, allocations: 11.98 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2687, allocations: 0 / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.2688, allocations: 4 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.2688, allocations: 7.938 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.2688, allocations: 8 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.212e-05/0.2689, allocations: 19.91 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2689, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2689, allocations: 0 / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2689, allocations: 0 / 1.089 GB, free: 360 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.0004179/0.2693, allocations: 334.4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2694, allocations: 12.03 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2694, allocations: 38.73 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.2695, allocations: 8.844 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2696, allocations: 164.3 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2696, allocations: 8.375 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2696, allocations: 384 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2698, allocations: 54.22 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2698, allocations: 3.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2698, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2698, allocations: 7.875 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.27, allocations: 39.95 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.2703, allocations: 248.9 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.2705, allocations: 38.5 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.2706, allocations: 20.89 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.2706, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2706, allocations: 34.56 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2706, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003542/0.271, allocations: 81.58 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.271, allocations: 55.41 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.2711, allocations: 97.98 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2711, allocations: 29.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.2712, allocations: 84.05 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2712, allocations: 12.55 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.2712, allocations: 9.719 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.2713, allocations: 310.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.2714, allocations: 19.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.2715, allocations: 19.97 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2717, allocations: 36.83 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2717, allocations: 3.938 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.2719, allocations: 73.5 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2719, allocations: 8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2719, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2719, allocations: 4.094 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.272, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.272, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.2721, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2721, allocations: 0 / 1.091 GB, free: 14.28 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.316e-05/0.2722, allocations: 110.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.2722, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.2724, allocations: 84.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2725, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2725, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2725, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.2726, allocations: 161.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2726, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.2727, allocations: 15.92 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2727, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2727, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2727, allocations: 8.031 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2727, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.2731, allocations: 163.5 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2731, allocations: 88.95 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2732, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.2732, allocations: 7.984 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.2733, allocations: 4.031 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2733, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2735, allocations: 91.38 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002256/0.2737, allocations: 8 kB / 1.092 GB, free: 13.45 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.0006432/0.2743, allocations: 0.6968 MB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2746, allocations: 35.95 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2746, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.2747, allocations: 19.92 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.275, allocations: 8.156 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.2754, allocations: 135.3 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2756, allocations: 0.6768 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.2757, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.2757, allocations: 7.438 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.2757, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2928, allocations: 1.278 MB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.859, allocations: 8.516 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_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_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches