Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001375/0.001376, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001671/0.001671, allocations: 190.7 kB / 16.25 MB, free: 6.152 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 472.7 MB / 0.7449 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 69.2 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3727, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002601/0.3754, allocations: 0.9304 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.3756, allocations: 43.78 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.3757, allocations: 7.938 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.512e-05/0.3758, allocations: 7.938 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.3759, allocations: 7.922 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.222e-05/0.3759, allocations: 23.98 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.3761, allocations: 79.78 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.3763, allocations: 60.95 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.3764, allocations: 35.8 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.3764, allocations: 27.8 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3764, allocations: 8 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.3765, allocations: 8 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3765, allocations: 19.92 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.3766, allocations: 47.72 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3767, allocations: 95.84 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3767, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3767, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3767, allocations: 0 / 1.069 GB, free: 9.32 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004906/0.3772, allocations: 399.3 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3773, allocations: 8.031 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3773, allocations: 20.73 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3776, allocations: 204.3 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3776, allocations: 4.562 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3777, allocations: 8.375 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.3778, allocations: 103.5 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3779, allocations: 4 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3779, allocations: 11.98 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3779, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.378, allocations: 43.92 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.3786, allocations: 472.2 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.3787, allocations: 41.09 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.3787, allocations: 21.84 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3788, allocations: 7.969 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3788, allocations: 30.56 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/0.3788, allocations: 4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.379, allocations: 57.55 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.379, allocations: 77.11 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3792, allocations: 183.2 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3792, allocations: 25.7 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.3793, allocations: 108 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.3793, allocations: 7.844 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.3793, allocations: 17.88 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3795, allocations: 334.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.3795, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.3795, allocations: 25.64 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.3796, allocations: 21.72 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3796, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.902e-05/0.3797, allocations: 69.53 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3797, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3797, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3797, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.3798, allocations: 4 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3798, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.3798, allocations: 15.78 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3798, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 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 7.46e-05/0.3799, allocations: 115.6 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.38, allocations: 15.97 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.38, allocations: 16.48 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.38, allocations: 4 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.38, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.38, allocations: 4.156 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.3806, allocations: 478.8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3806, allocations: 3.938 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.3806, allocations: 4.062 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3806, allocations: 8 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.3807, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3807, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3807, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.355e-05/0.3808, allocations: 85.8 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.3808, allocations: 89 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3809, allocations: 7.969 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.3809, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.3809, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3809, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001012/0.381, allocations: 135.2 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.381, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.3812, allocations: 11.94 kB / 1.072 GB, free: 5.68 MB / 0.8262 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.0001369/0.3814, allocations: 99.23 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3815, allocations: 20 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3815, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.3815, allocations: 7.938 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.3817, allocations: 8 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.3821, allocations: 226.3 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3824, allocations: 0.6963 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.3824, allocations: 12.55 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.3825, allocations: 19.38 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.3825, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.003693/0.3862, allocations: 0.4988 MB / 1.074 GB, free: 4.035 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches