Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.00743/0.00743, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001134/0.001134, allocations: 199 kB / 16.68 MB, free: 6.375 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 73.73 kB / 0.9505 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 140.4 MB / 1.088 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.00188/0.2548, allocations: 0.702 MB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.2556, allocations: 0.8004 MB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.2557, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.2557, allocations: 3.938 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.2558, allocations: 11.92 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.603e-05/0.2558, allocations: 11.98 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.2559, allocations: 47.84 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.256, allocations: 12 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.2561, allocations: 15.98 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.2561, allocations: 27.84 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2562, allocations: 7.938 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.2562, allocations: 4 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2562, allocations: 4 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2562, allocations: 19.86 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.2563, allocations: 39.86 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2564, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2564, allocations: 4 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2564, allocations: 0 / 1.089 GB, free: 196 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005403/0.2569, allocations: 358.8 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.257, allocations: 15.97 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.257, allocations: 34.73 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.257, allocations: 4.844 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2572, allocations: 168.6 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2572, allocations: 4.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2572, allocations: 8.375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.2574, allocations: 70.16 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2575, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2575, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2575, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.2578, allocations: 67.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.2581, allocations: 268.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2583, allocations: 54.53 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2585, allocations: 48.86 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2585, allocations: 7.984 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2585, allocations: 30.56 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2585, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005135/0.2591, allocations: 125.6 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2591, allocations: 55.41 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.2592, allocations: 109.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2592, allocations: 25.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.2592, allocations: 84.14 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2593, allocations: 19.73 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.2593, allocations: 13.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.2594, allocations: 318.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2596, allocations: 35.95 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2597, allocations: 27.97 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.26, allocations: 72.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.26, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000307/0.2603, allocations: 97.62 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2603, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2603, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2603, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2605, allocations: 15.98 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2605, allocations: 7.922 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.2606, allocations: 19.98 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2606, allocations: 4 kB / 1.091 GB, free: 13.82 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 (3): * Single equations (assignments): 3 * 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.972e-05/0.2607, allocations: 117.7 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2607, allocations: 3.906 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.2607, allocations: 7.906 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.2607, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2607, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2607, allocations: 3.938 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2609, allocations: 181.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2609, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.261, allocations: 11.98 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.261, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.261, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.261, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.261, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.2614, allocations: 203.3 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.2614, allocations: 81.02 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2614, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.2616, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2616, allocations: 7.984 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2616, allocations: 384 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.2617, allocations: 91.28 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.283e-06/0.2617, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002133/0.2619, allocations: 7.938 kB / 1.092 GB, free: 13 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 (3): * Single equations (assignments): 3 * 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.0006112/0.2625, allocations: 0.7319 MB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2628, allocations: 71.86 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2629, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.263, allocations: 39.95 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2633, allocations: 9.719 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.2638, allocations: 163.2 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.264, allocations: 0.6807 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.264, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2641, allocations: 15.44 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2641, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.2797, allocations: 1.637 MB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.523, allocations: 1.719 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_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_Add.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches