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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007519/0.007518, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001409/0.001409, allocations: 185.3 kB / 16.67 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 64.12 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3731, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002993/0.3762, allocations: 0.8779 MB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001951/0.3764, allocations: 47.72 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.3765, allocations: 4 kB / 1.208 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.638e-05/0.3766, allocations: 7.875 kB / 1.208 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3767, allocations: 23.84 kB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.072e-05/0.3768, allocations: 19.98 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.377, allocations: 79.77 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.3772, allocations: 45.09 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.3773, allocations: 43.8 kB / 1.208 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.3774, allocations: 31.78 kB / 1.208 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.3774, allocations: 8 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.3775, allocations: 11.94 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.3775, allocations: 23.92 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3776, allocations: 39.73 kB / 1.209 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3778, allocations: 99.83 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3778, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3778, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3778, allocations: 0 / 1.209 GB, free: 8.77 MB / 0.9669 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.0006388/0.3785, allocations: 403.2 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3785, allocations: 8.625 kB / 1.209 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.3786, allocations: 50.67 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.3787, allocations: 12.84 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.379, allocations: 196.4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.379, allocations: 8.562 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.379, allocations: 8.375 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.3793, allocations: 119.2 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3794, allocations: 0 / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3794, allocations: 4 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3794, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3795, allocations: 39.98 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.3804, allocations: 468.2 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.3805, allocations: 41.22 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.3805, allocations: 21.77 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3806, allocations: 3.984 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.3806, allocations: 42.44 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.3806, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002375/0.3809, allocations: 53.55 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.381, allocations: 81.11 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.3813, allocations: 187.1 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3813, allocations: 25.7 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3814, allocations: 111.9 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3815, allocations: 7.844 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.3815, allocations: 21.92 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3817, allocations: 323.1 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.3817, allocations: 15.92 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.3818, allocations: 13.72 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.915e-05/0.3819, allocations: 29.66 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3819, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.3821, allocations: 57.59 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3821, allocations: 8.062 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3821, allocations: 0 / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3821, allocations: 0 / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.3822, allocations: 11.94 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3822, allocations: 0 / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3823, allocations: 11.84 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3823, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 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 9.929e-05/0.3824, allocations: 117.8 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3825, allocations: 11.89 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.3825, allocations: 12.56 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3825, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3825, allocations: 4 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3826, allocations: 3.938 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.3831, allocations: 482.7 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3831, allocations: 0 / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.3831, allocations: 4 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3831, allocations: 3.938 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3832, allocations: 8.062 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3832, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3832, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3833, allocations: 77.83 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.3834, allocations: 93 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3834, allocations: 7.938 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.3835, allocations: 8.031 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3835, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.3835, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001586/0.3837, allocations: 135.2 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3837, allocations: 3.938 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003488/0.3841, allocations: 15.94 kB / 1.212 GB, free: 5.07 MB / 0.9669 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.0005192/0.3846, allocations: 0.6208 MB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.3847, allocations: 16 kB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3847, allocations: 3.938 kB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.3848, allocations: 11.94 kB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3851, allocations: 8 kB / 1.212 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.387, allocations: 1.397 MB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3873, allocations: 0.7001 MB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.575e-05/0.3874, allocations: 20.48 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.3875, allocations: 31.42 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3875, allocations: 0 / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4111, allocations: 1.775 MB / 1.216 GB, free: 464 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.857, allocations: 0 / 1.216 GB, free: 464 kB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > 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/jenkins1/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