Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001814/0.001814, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.002075/0.002075, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.42 kB / 0.9092 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 159.1 MB / 1.065 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00253/0.3797, allocations: 0.8674 MB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.3799, allocations: 59.72 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.38, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.38, allocations: 7.875 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.3801, allocations: 23.8 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.546e-05/0.3802, allocations: 23.92 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3803, allocations: 71.84 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.3805, allocations: 61.05 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.3806, allocations: 39.8 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.3807, allocations: 27.8 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3807, allocations: 8 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.3807, allocations: 8 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.3807, allocations: 23.92 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.3808, allocations: 43.67 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3809, allocations: 91.89 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.381, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.204e-06/0.381, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.381, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 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.0005484/0.3815, allocations: 395.3 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3816, allocations: 8.625 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.3816, allocations: 16.75 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3819, allocations: 206.3 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.382, allocations: 8.562 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.382, allocations: 8.375 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3822, allocations: 107.5 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3822, allocations: 3.938 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3822, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3822, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.3823, allocations: 43.97 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.383, allocations: 480.1 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.3831, allocations: 41.16 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.3831, allocations: 13.78 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3832, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.3832, allocations: 42.55 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3832, allocations: 3.938 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.3834, allocations: 45.61 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.3835, allocations: 85.05 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3837, allocations: 179.2 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3837, allocations: 29.7 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.3838, allocations: 108.3 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.3838, allocations: 7.906 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3839, allocations: 17.72 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.384, allocations: 326.8 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.3841, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.3841, allocations: 21.7 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.3842, allocations: 25.72 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3842, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.3843, allocations: 69.44 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3843, allocations: 4 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3843, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3843, allocations: 0 / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.3844, allocations: 8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3844, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.3844, allocations: 11.88 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.3845, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 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 0.0001001/0.3846, allocations: 124 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3846, allocations: 12.03 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.3847, allocations: 16.55 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3847, allocations: 3.938 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3847, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3847, allocations: 3.938 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.3852, allocations: 474.8 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3852, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.3852, allocations: 4 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3852, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3852, allocations: 7.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3852, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3853, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3854, allocations: 81.95 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.3855, allocations: 96.84 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3855, allocations: 11.94 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.3855, allocations: 3.938 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.3856, allocations: 8.078 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.3856, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001131/0.3857, allocations: 132.3 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001879/0.3859, allocations: 11.94 kB / 1.069 GB, free: 9.742 MB / 0.8419 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.0001406/0.386, allocations: 107.3 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3861, allocations: 15.94 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3861, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.3862, allocations: 12 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3863, allocations: 6.5 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.3867, allocations: 212.7 kB / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3871, allocations: 0.7041 MB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3871, allocations: 11.44 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3871, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.002913/0.39, allocations: 0.9846 MB / 1.071 GB, free: 7.617 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches