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.001353/0.001353, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001369/0.001369, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.546/1.546, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.223/2.223, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.3 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2526, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0023/0.2549, allocations: 0.6613 MB / 0.9509 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2561, allocations: 0.8215 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.2562, allocations: 0 / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.2562, allocations: 0 / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.2563, allocations: 3.938 kB / 0.9517 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.2565, allocations: 11.98 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.2566, allocations: 23.92 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2567, allocations: 12 kB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.2568, allocations: 7.984 kB / 0.9518 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.2568, allocations: 7.938 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2569, allocations: 4 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.2569, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.2569, allocations: 11.97 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.2569, allocations: 7.938 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.384e-05/0.257, allocations: 19.91 kB / 0.9518 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.257, allocations: 4 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.173e-06/0.257, allocations: 0 / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.257, allocations: 0 / 0.9518 GB, free: 7.242 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.0004559/0.2575, allocations: 339.8 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2575, allocations: 8.031 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2576, allocations: 0.9375 kB / 0.9522 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2577, allocations: 184.2 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2577, allocations: 384 / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2578, allocations: 384 / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.2579, allocations: 50.19 kB / 0.9524 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.258, allocations: 4.188 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.258, allocations: 7.922 kB / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.258, allocations: 0 / 0.9524 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2582, allocations: 31.97 kB / 0.9524 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.2585, allocations: 240.9 kB / 0.9527 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2586, allocations: 50.47 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.2587, allocations: 16.91 kB / 0.9527 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2588, allocations: 4 kB / 0.9527 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2588, allocations: 34.56 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2588, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000368/0.2592, allocations: 81.64 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.2593, allocations: 51.41 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.2594, allocations: 101.8 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2594, allocations: 25.7 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2596, allocations: 84.08 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2596, allocations: 15.84 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2596, allocations: 9.719 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.2599, allocations: 319 kB / 0.9534 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.2599, allocations: 23.92 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.26, allocations: 11.98 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2602, allocations: 36.83 kB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2602, allocations: 0 / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002355/0.2604, allocations: 77.66 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2605, allocations: 4 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2605, allocations: 0 / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.2605, allocations: 0 / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.2606, allocations: 15.92 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2606, allocations: 0 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.2607, allocations: 7.984 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2607, allocations: 0 / 0.9536 GB, free: 5.215 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 6.746e-05/0.2608, allocations: 115.8 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.2608, allocations: 7.906 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.261, allocations: 68.78 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.261, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2611, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2611, allocations: 0 / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2612, allocations: 165.6 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2612, allocations: 8.031 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.2613, allocations: 8 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2613, allocations: 3.984 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.2613, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2613, allocations: 3.938 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2613, allocations: 4 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.2616, allocations: 163.5 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2616, allocations: 81.3 kB / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2617, allocations: 0 / 0.9542 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.2617, allocations: 11.97 kB / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.2618, allocations: 0 / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2618, allocations: 0 / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.2618, allocations: 83.28 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.084e-06/0.2618, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002162/0.2621, allocations: 7.938 kB / 0.9543 GB, free: 4.398 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.0001805/0.2622, allocations: 107.3 kB / 0.9544 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.2625, allocations: 35.91 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2625, allocations: 0 / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.2626, allocations: 19.98 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2629, allocations: 17.23 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.2633, allocations: 131.4 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2637, allocations: 0.6883 MB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.2637, allocations: 7.438 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.2637, allocations: 0 / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of Templates: time 0.001828/0.2656, allocations: 0.5364 MB / 0.9558 GB, free: 2.801 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