Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005982/0.005983, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001206/0.001206, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.67/2.67, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.83 kB / 0.9509 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002265/0.3492, allocations: 0.8754 MB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.3494, allocations: 55.7 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.3495, allocations: 8 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.3495, allocations: 11.86 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.3496, allocations: 7.875 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.693e-05/0.3497, allocations: 23.97 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3498, allocations: 87.72 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.35, allocations: 56.83 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.3501, allocations: 31.8 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.3502, allocations: 35.78 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3502, allocations: 8 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.3502, allocations: 8 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.3502, allocations: 19.92 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.3503, allocations: 47.67 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3505, allocations: 99.53 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3505, allocations: 0 / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3505, allocations: 3.938 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3505, allocations: 4 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006088/0.3511, allocations: 399.2 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3512, allocations: 15.97 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3512, allocations: 8.891 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3515, allocations: 208.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3515, allocations: 8.562 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3516, allocations: 12.38 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3518, allocations: 108.6 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3518, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3518, allocations: 8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3518, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.3519, allocations: 39.98 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.3526, allocations: 464.4 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.3526, allocations: 41.16 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.3527, allocations: 25.83 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3527, allocations: 3.938 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3527, allocations: 30.56 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3527, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.3529, allocations: 65.7 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.353, allocations: 77.11 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3532, allocations: 187.1 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3532, allocations: 29.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.3533, allocations: 112 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-06/0.3533, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.3533, allocations: 25.66 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3534, allocations: 331 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.3535, allocations: 8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.3535, allocations: 13.72 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.3535, allocations: 29.66 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3535, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.3537, allocations: 61.67 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3537, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3537, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3537, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.3538, allocations: 7.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3538, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.3538, allocations: 15.83 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3539, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.498e-05/0.3539, allocations: 123.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.354, allocations: 15.98 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.354, allocations: 8.562 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.354, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.354, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.354, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.3546, allocations: 482.8 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3546, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.3546, allocations: 4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3546, allocations: 4.062 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.3546, allocations: 3.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3546, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3546, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.3547, allocations: 81.88 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.3548, allocations: 101 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3549, allocations: 7.969 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.3549, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.3549, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.3549, allocations: 3.938 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001073/0.355, allocations: 136.3 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.355, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001998/0.3552, allocations: 8 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001411/0.3554, allocations: 103.2 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/0.3555, allocations: 23.94 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3555, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.3555, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3557, allocations: 13.39 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.356, allocations: 174.7 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3563, allocations: 0.7043 MB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.3564, allocations: 12.55 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.3564, allocations: 11.44 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3564, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of Templates: time 0.002725/0.3591, allocations: 0.5174 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches