Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001545/0.001545, 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.001958/0.001958, allocations: 195.8 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.246/3.246, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 65.25 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4033, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00319/0.4066, allocations: 0.6498 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.408, allocations: 0.8178 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.4081, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.4082, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.4083, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.4085, allocations: 19.92 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.4087, allocations: 31.84 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.4089, allocations: 8 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.409, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.4091, allocations: 15.92 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.4091, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.4092, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.4092, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.4093, allocations: 11.92 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.4094, allocations: 23.95 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.4094, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.757e-06/0.4095, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.4095, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8262 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.0007729/0.4103, allocations: 339.7 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.4103, allocations: 11.97 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.4104, allocations: 8.938 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.4106, allocations: 160.4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.4106, allocations: 4.359 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.4106, allocations: 4.375 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.4109, allocations: 58.17 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4109, allocations: 192 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.411, allocations: 3.938 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.411, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4112, allocations: 31.95 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.4117, allocations: 241 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.4119, allocations: 54.42 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.567e-05/0.412, allocations: 20.91 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.412, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4121, allocations: 30.56 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4121, allocations: 4 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004959/0.4126, allocations: 81.55 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.4126, allocations: 51.41 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4128, allocations: 105.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4128, allocations: 29.69 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.4129, allocations: 84.14 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.413, allocations: 3.906 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.413, allocations: 17.84 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4132, allocations: 310.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4133, allocations: 15.98 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.4134, allocations: 19.97 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4136, allocations: 40.89 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4136, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.4138, allocations: 69.53 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4139, allocations: 9.875 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4139, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4139, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.414, allocations: 11.92 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.414, allocations: 0 / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.4141, allocations: 8.031 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4141, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 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.0001466/0.4143, allocations: 121.7 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.4143, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.4146, allocations: 72.78 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4146, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4146, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4146, allocations: 4.031 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4148, allocations: 157.6 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4148, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.4149, allocations: 11.98 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4149, allocations: 3.938 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4149, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4149, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4149, allocations: 4 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.4152, allocations: 171.4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.4153, allocations: 81.09 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4153, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.4154, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4155, allocations: 8.172 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.4155, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.716e-05/0.4156, allocations: 87.27 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4156, allocations: 4.031 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002308/0.4158, allocations: 7.938 kB / 1.072 GB, free: 5.918 MB / 0.8262 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.0002503/0.4161, allocations: 95.78 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.4163, allocations: 39.89 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4164, allocations: 4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.631e-05/0.4165, allocations: 20.05 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4169, allocations: 7.938 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.4173, allocations: 110 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4176, allocations: 0.6768 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.4176, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.4176, allocations: 7.438 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4176, allocations: 4.062 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.002578/0.4202, allocations: 440.9 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches