Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003735, allocations: 12 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7553, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.000855/0.7562, allocations: 400 kB / 0.9561 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.757, allocations: 0.8084 MB / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.757, allocations: 0 / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.7571, allocations: 0 / 0.9569 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.7571, allocations: 4.938 kB / 0.9569 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.7573, allocations: 9.172 kB / 0.9569 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.7573, allocations: 21.64 kB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.7574, allocations: 2.75 kB / 0.9569 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.7575, allocations: 15.41 kB / 0.9569 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.7576, allocations: 10.83 kB / 0.957 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.7576, allocations: 1 kB / 0.957 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.7576, allocations: 1.25 kB / 0.957 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.7576, allocations: 3.984 kB / 0.957 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.7577, allocations: 36.08 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.329e-05/0.7577, allocations: 14.52 kB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7577, allocations: 1.562 kB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7577, allocations: 0 / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7577, allocations: 3.938 kB / 0.957 GB, free: 6.598 MB / 0.7169 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.000357/0.7581, allocations: 340.9 kB / 0.9573 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7582, allocations: 14.05 kB / 0.9574 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.7582, allocations: 2.031 kB / 0.9574 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.7583, allocations: 161.5 kB / 0.9575 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.7583, allocations: 1.406 kB / 0.9575 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7583, allocations: 1.75 kB / 0.9575 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.7585, allocations: 57.77 kB / 0.9576 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7585, allocations: 1.281 kB / 0.9576 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7585, allocations: 3.938 kB / 0.9576 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7585, allocations: 1.031 kB / 0.9576 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.7587, allocations: 51.92 kB / 0.9576 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.759, allocations: 244.7 kB / 0.9579 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.7591, allocations: 48.47 kB / 0.9579 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.7592, allocations: 30.66 kB / 0.9579 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.7592, allocations: 5.078 kB / 0.9579 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.7593, allocations: 31.75 kB / 0.958 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7593, allocations: 3.938 kB / 0.958 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.7596, allocations: 99.45 kB / 0.9581 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.7597, allocations: 51.41 kB / 0.9581 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.7597, allocations: 99.73 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.7597, allocations: 25.7 kB / 0.9582 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.7598, allocations: 81.3 kB / 0.9583 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.7598, allocations: 17.05 kB / 0.9583 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.7598, allocations: 9.719 kB / 0.9583 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.7599, allocations: 316 kB / 0.9586 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.7599, allocations: 18.17 kB / 0.9587 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.76, allocations: 26.77 kB / 0.9587 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.7602, allocations: 53.12 kB / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7602, allocations: 0 / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.7604, allocations: 78.73 kB / 0.9588 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7604, allocations: 10.39 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.7604, allocations: 0 / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7604, allocations: 1.188 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.7605, allocations: 8 kB / 0.9588 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7606, allocations: 9.453 kB / 0.9588 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.7606, allocations: 13.48 kB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.7606, allocations: 1.406 kB / 0.9588 GB, free: 4.773 MB / 0.7169 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 5.454e-05/0.7607, allocations: 114.9 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.7607, allocations: 1.469 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.7609, allocations: 84.12 kB / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7609, allocations: 4.172 kB / 0.959 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.761, allocations: 4.844 kB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.761, allocations: 3.984 kB / 0.9591 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.7611, allocations: 162.4 kB / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7611, allocations: 0 / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.7611, allocations: 13.95 kB / 0.9592 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7612, allocations: 4.031 kB / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.7612, allocations: 0 / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7612, allocations: 3.938 kB / 0.9592 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7612, allocations: 1.312 kB / 0.9592 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.7614, allocations: 179.9 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.7614, allocations: 78.27 kB / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.7614, allocations: 1.188 kB / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.7615, allocations: 10.2 kB / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.7616, allocations: 1.156 kB / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.7616, allocations: 0 / 0.9595 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.7616, allocations: 86.98 kB / 0.9596 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7616, allocations: 4.031 kB / 0.9596 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002062/0.7618, allocations: 4.031 kB / 0.9596 GB, free: 4.023 MB / 0.7169 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.0001204/0.7619, allocations: 96.72 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.7622, allocations: 47.06 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7622, allocations: 0 / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.7623, allocations: 32.59 kB / 0.9597 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.7625, allocations: 6.938 kB / 0.9598 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.7628, allocations: 129.4 kB / 0.9599 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.7629, allocations: 0.6777 MB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.7629, allocations: 7.438 kB / 0.9605 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7629, allocations: 1.438 kB / 0.9605 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.00186/0.7648, allocations: 0.5412 MB / 0.9611 GB, free: 2.781 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches