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.001481/0.001481, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001998/0.001998, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.502/2.502, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 69.56 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3865, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002706/0.3893, allocations: 0.6671 MB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3907, allocations: 0.81 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.3907, allocations: 0 / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.3908, allocations: 3.938 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.3909, allocations: 3.938 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3911, allocations: 19.97 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.3912, allocations: 19.98 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3913, allocations: 7.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.3914, allocations: 15.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.3914, allocations: 12 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3915, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3915, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3915, allocations: 7.922 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3915, allocations: 7.938 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3917, allocations: 19.95 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3917, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3917, allocations: 4 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.3917, allocations: 0 / 0.9527 GB, free: 6.391 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.0006073/0.3923, allocations: 339.5 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3924, allocations: 8.031 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3924, allocations: 4.938 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3926, allocations: 172.2 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3926, allocations: 384 / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3926, allocations: 384 / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3928, allocations: 50.19 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3928, allocations: 4.125 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3928, allocations: 11.86 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3929, allocations: 8 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.393, allocations: 27.97 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.3935, allocations: 244.9 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.3938, allocations: 38.53 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.3939, allocations: 32.84 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.394, allocations: 0 / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.394, allocations: 30.56 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.394, allocations: 0 / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.3944, allocations: 81.64 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3944, allocations: 55.53 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.3945, allocations: 101.8 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3945, allocations: 29.7 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.3946, allocations: 80.14 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3946, allocations: 3.906 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.3947, allocations: 17.72 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3948, allocations: 314.8 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.3949, allocations: 23.92 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.395, allocations: 15.98 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3951, allocations: 32.83 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3951, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.3953, allocations: 69.69 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3954, allocations: 8 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3954, allocations: 0 / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3954, allocations: 4.188 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.3955, allocations: 7.984 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3955, allocations: 4 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.3956, allocations: 11.98 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3956, allocations: 3.938 kB / 0.9545 GB, free: 4.363 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 0.0001063/0.3957, allocations: 115.8 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3957, allocations: 11.89 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3959, allocations: 68.78 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3959, allocations: 4 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.396, allocations: 0 / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.396, allocations: 0 / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3962, allocations: 165.5 kB / 0.9548 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3962, allocations: 0 / 0.9548 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3963, allocations: 4 kB / 0.9548 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3963, allocations: 12.02 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3963, allocations: 0 / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3963, allocations: 0 / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3963, allocations: 0 / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3966, allocations: 167.3 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.3966, allocations: 81.11 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3967, allocations: 4.031 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3967, allocations: 7.984 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3968, allocations: 0 / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3968, allocations: 4 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.3968, allocations: 79.28 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3969, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002068/0.3971, allocations: 0 / 0.9552 GB, free: 3.555 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.0001913/0.3973, allocations: 107.2 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3975, allocations: 39.89 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3975, allocations: 0 / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.3976, allocations: 15.98 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.3979, allocations: 20.89 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.3982, allocations: 101.7 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.3988, allocations: 0.6805 MB / 0.9561 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.3988, allocations: 0 / 0.9561 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.3989, allocations: 7.438 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.3989, allocations: 4 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of Templates: time 0.002841/0.4017, allocations: 436.5 kB / 0.9565 GB, free: 2.102 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 -s cvode -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