Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.006819/0.006825, allocations: 103 kB / 15.74 MB, free: 6.453 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.001832/0.001832, allocations: 195.4 kB / 16.68 MB, free: 6.355 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.691/2.691, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.84 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 162.3 MB / 1.242 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001885/0.3017, allocations: 0.8216 MB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.3018, allocations: 35.8 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.3019, allocations: 4 kB / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.3019, allocations: 7.875 kB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.302, allocations: 15.84 kB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-05/0.302, allocations: 23.98 kB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3021, allocations: 59.84 kB / 1.243 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3023, allocations: 39.97 kB / 1.243 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.3024, allocations: 35.73 kB / 1.243 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.3024, allocations: 23.86 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3024, allocations: 4 kB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.3025, allocations: 8 kB / 1.243 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.3025, allocations: 15.92 kB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.3025, allocations: 39.73 kB / 1.243 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3026, allocations: 79.58 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3027, allocations: 0 / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3027, allocations: 0 / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3027, allocations: 0 / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004129/0.3031, allocations: 383.1 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3031, allocations: 8.031 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.3032, allocations: 42.73 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.3032, allocations: 8.891 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3034, allocations: 188.2 kB / 1.244 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3034, allocations: 12.36 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3034, allocations: 8.312 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3036, allocations: 97.98 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3036, allocations: 3.938 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3036, allocations: 3.984 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3036, allocations: 4 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.3037, allocations: 39.92 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.3043, allocations: 432.7 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.915e-05/0.3043, allocations: 45.25 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.3044, allocations: 21.77 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.3044, allocations: 0 / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3044, allocations: 34.56 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3044, allocations: 0 / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001495/0.3046, allocations: 57.53 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3046, allocations: 81.09 kB / 1.244 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.3048, allocations: 160 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3048, allocations: 25.7 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3049, allocations: 100.1 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.3049, allocations: 11.95 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.3049, allocations: 21.64 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3051, allocations: 319.1 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.3051, allocations: 11.98 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.3051, allocations: 17.66 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.3052, allocations: 25.72 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3052, allocations: 0 / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.13e-05/0.3052, allocations: 65.52 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3053, allocations: 12 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3053, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.3053, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.3053, allocations: 8 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3054, allocations: 0 / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.3054, allocations: 11.89 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.3054, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 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.178e-05/0.3055, allocations: 113.8 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3055, allocations: 11.89 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3056, allocations: 19.86 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3056, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3056, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.3056, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.306, allocations: 474.7 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.306, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.306, allocations: 8 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.306, allocations: 4.062 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.306, allocations: 0 / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.306, allocations: 7.938 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.306, allocations: 3.984 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.3061, allocations: 73.89 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.3062, allocations: 93.05 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3062, allocations: 0 / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.3063, allocations: 4.031 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.3063, allocations: 0 / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3063, allocations: 4 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.3064, allocations: 121.7 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3064, allocations: 0 / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001978/0.3066, allocations: 8 kB / 1.246 GB, free: 5.121 MB / 0.9981 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.0003957/0.307, allocations: 0.6214 MB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.251e-05/0.3071, allocations: 19.94 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3071, allocations: 0 / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.3071, allocations: 4 kB / 1.247 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3072, allocations: 13.88 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3084, allocations: 1.339 MB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3087, allocations: 0.6885 MB / 1.249 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.3087, allocations: 12.36 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.3088, allocations: 27.44 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.3088, allocations: 0 / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6533/0.9621, allocations: 1.589 MB / 1.25 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.27/10.23, allocations: 3.469 kB / 1.25 GB, free: 0.7656 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches