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.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: 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.001363/0.001363, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001412/0.001412, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.233/2.233, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.69 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002088/0.2558, allocations: 0.7222 MB / 0.9505 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.2567, allocations: 0.8177 MB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.2567, allocations: 7.938 kB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.2568, allocations: 0 / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.2569, allocations: 3.938 kB / 0.9513 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.257, allocations: 4 kB / 0.9513 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.2571, allocations: 23.98 kB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.2572, allocations: 0 / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.2572, allocations: 15.92 kB / 0.9514 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.2573, allocations: 15.94 kB / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2573, allocations: 0 / 0.9514 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.2573, allocations: 4 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2573, allocations: 7.969 kB / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.2574, allocations: 11.94 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.814e-05/0.2574, allocations: 15.97 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2574, allocations: 0 / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2574, allocations: 0 / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2574, allocations: 0 / 0.9514 GB, free: 7.578 MB / 0.7325 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.0004085/0.2579, allocations: 339.8 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2579, allocations: 8.031 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2579, allocations: 4.938 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.258, allocations: 168.2 kB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2581, allocations: 384 / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2581, allocations: 4.375 kB / 0.9519 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2583, allocations: 46.23 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2583, allocations: 8.125 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2583, allocations: 3.938 kB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2583, allocations: 7.938 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.2585, allocations: 31.95 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2588, allocations: 244.9 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2589, allocations: 46.53 kB / 0.9523 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.259, allocations: 24.91 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.259, allocations: 0 / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2591, allocations: 34.5 kB / 0.9523 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2591, allocations: 0 / 0.9523 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.2594, allocations: 81.64 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.2595, allocations: 55.53 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.2596, allocations: 105.8 kB / 0.9526 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2596, allocations: 25.7 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.2596, allocations: 84.14 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2597, allocations: 3.906 kB / 0.9527 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.2597, allocations: 13.72 kB / 0.9527 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2598, allocations: 314.8 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.2599, allocations: 19.97 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.26, allocations: 23.92 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2601, allocations: 36.77 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2601, allocations: 0 / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.2603, allocations: 69.59 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2604, allocations: 8.094 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2604, allocations: 4 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2604, allocations: 0 / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.2605, allocations: 7.984 kB / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2605, allocations: 0 / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.2606, allocations: 7.984 kB / 0.9532 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2606, allocations: 0 / 0.9532 GB, free: 5.555 MB / 0.7325 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 7.732e-05/0.2607, allocations: 117.8 kB / 0.9533 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2607, allocations: 7.906 kB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.2609, allocations: 72.72 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2609, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2609, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2609, allocations: 0 / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2611, allocations: 165.5 kB / 0.9535 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2611, allocations: 0 / 0.9535 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.2612, allocations: 8 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2612, allocations: 4.031 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.2612, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2612, allocations: 3.984 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2612, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2614, allocations: 163.4 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.2615, allocations: 81.09 kB / 0.9538 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2615, allocations: 4.031 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.2616, allocations: 4 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.2616, allocations: 11.98 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2616, allocations: 4 kB / 0.9538 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.2617, allocations: 79.28 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002174/0.2619, allocations: 4 kB / 0.9539 GB, free: 4.738 MB / 0.7325 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.0001258/0.262, allocations: 99.25 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2623, allocations: 39.95 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.2623, allocations: 0 / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.2624, allocations: 19.92 kB / 0.954 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2627, allocations: 11.88 kB / 0.954 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.2629, allocations: 135.3 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2632, allocations: 0.6805 MB / 0.9548 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.2632, allocations: 15.38 kB / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.2633, allocations: 0 / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of Templates: time 0.001835/0.2651, allocations: 0.5417 MB / 0.9554 GB, free: 3.141 MB / 0.7325 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