Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 108 kB / 15.61 MB, free: 152 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.002059/0.002059, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.641/1.641, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.99/2.99, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 67.89 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8169, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002335/0.8193, allocations: 0.6689 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.8205, allocations: 0.8118 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.8206, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.8206, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.8207, allocations: 3.938 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.8209, allocations: 11.98 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.821, allocations: 19.94 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.8212, allocations: 7.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.8213, allocations: 11.94 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.8214, allocations: 11.98 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.8214, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.8215, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.8215, allocations: 7.922 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.8216, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.8217, allocations: 23.91 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.8217, allocations: 11.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8217, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.8218, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 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.0006558/0.8224, allocations: 333.4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.8225, allocations: 12.03 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.8225, allocations: 4.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.8227, allocations: 164.3 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.8227, allocations: 384 / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.8228, allocations: 8.375 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.823, allocations: 42.23 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.823, allocations: 192 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.823, allocations: 11.94 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.823, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.8232, allocations: 35.95 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.8237, allocations: 244.9 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.8239, allocations: 38.5 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.824, allocations: 32.83 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.824, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.8241, allocations: 30.56 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.8241, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004217/0.8245, allocations: 85.58 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8246, allocations: 51.41 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.8247, allocations: 102 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.8247, allocations: 29.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.8248, allocations: 88.02 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.8248, allocations: 7.891 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.8248, allocations: 17.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.825, allocations: 314.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.8251, allocations: 15.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.8252, allocations: 19.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.8254, allocations: 36.81 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8254, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.8256, allocations: 77.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8256, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8256, allocations: 4.094 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.8257, allocations: 7.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.8258, allocations: 8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8258, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.8259, allocations: 7.984 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.8259, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 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 0.0001028/0.826, allocations: 113.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.826, allocations: 3.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.8263, allocations: 80.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8263, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8263, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8263, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.8265, allocations: 161.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.8265, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.8266, allocations: 7.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8266, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.8266, allocations: 4.031 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8266, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8266, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.827, allocations: 163.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.827, allocations: 81.05 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.827, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.8271, allocations: 12.02 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.8272, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.8272, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.8272, allocations: 83.27 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8273, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002208/0.8275, allocations: 8 kB / 1.021 GB, free: 14.05 MB / 0.7794 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.0001416/0.8276, allocations: 95.25 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.8279, allocations: 35.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8279, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.828, allocations: 15.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.8283, allocations: 19.81 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.8287, allocations: 118.2 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.8291, allocations: 0.6768 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.8291, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.8292, allocations: 7.438 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8292, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.003318/0.8325, allocations: 432.6 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches