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 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.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.009609/0.009609, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.002174/0.002174, allocations: 187 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 64.14 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001939/0.3254, allocations: 0.823 MB / 1.208 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.3255, allocations: 47.78 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.3256, allocations: 0 / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.3256, allocations: 11.86 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.3257, allocations: 3.938 kB / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.271e-05/0.3258, allocations: 15.98 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.3259, allocations: 71.77 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.326, allocations: 47.91 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.3261, allocations: 23.88 kB / 1.208 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.3262, allocations: 27.84 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3262, allocations: 8 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3262, allocations: 4 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3262, allocations: 15.94 kB / 1.208 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.3263, allocations: 39.73 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3264, allocations: 79.86 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3264, allocations: 0 / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3264, allocations: 0 / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3264, allocations: 0 / 1.208 GB, free: 8.93 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004201/0.3268, allocations: 383.1 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3269, allocations: 8.625 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.3269, allocations: 38.75 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.327, allocations: 8.844 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3272, allocations: 204.1 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3272, allocations: 8.375 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3272, allocations: 8.375 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3273, allocations: 87.94 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3274, allocations: 3.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3274, allocations: 8 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3274, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.3275, allocations: 39.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.328, allocations: 440.5 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.328, allocations: 37.28 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.3281, allocations: 17.84 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.3281, allocations: 8 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3281, allocations: 30.56 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3281, allocations: 0 / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3283, allocations: 57.47 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3283, allocations: 85.11 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3285, allocations: 154.4 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3285, allocations: 33.7 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.3286, allocations: 111.9 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/0.3286, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.3286, allocations: 21.62 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3287, allocations: 318.8 kB / 1.21 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.3288, allocations: 8 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.3288, allocations: 17.72 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.3288, allocations: 33.7 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3288, allocations: 0 / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.562e-05/0.3289, allocations: 53.55 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3289, allocations: 7.938 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3289, allocations: 4 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.329, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.329, allocations: 11.98 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.329, allocations: 64 / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.3291, allocations: 11.94 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.3291, allocations: 0 / 1.211 GB, free: 6.441 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 6.901e-05/0.3292, allocations: 113.8 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3292, allocations: 15.78 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.3292, allocations: 11.81 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3292, allocations: 0 / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3292, allocations: 0 / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3293, allocations: 7.984 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.3296, allocations: 474.7 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3296, allocations: 4 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.3297, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3297, allocations: 4 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3297, allocations: 4 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3297, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3297, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.172e-05/0.3298, allocations: 85.89 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.3298, allocations: 85.02 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3298, allocations: 0 / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.3299, allocations: 4 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.3299, allocations: 7.922 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3299, allocations: 0 / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.682e-05/0.33, allocations: 117.9 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.33, allocations: 4 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002001/0.3302, allocations: 12 kB / 1.212 GB, free: 5.398 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.0003955/0.3306, allocations: 0.6054 MB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.3307, allocations: 31.89 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3307, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.3307, allocations: 8 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3309, allocations: 13.41 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3321, allocations: 1.324 MB / 1.213 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3324, allocations: 0.6929 MB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.3325, allocations: 12.5 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.3325, allocations: 27.42 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.3325, allocations: 0 / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.349, allocations: 1.601 MB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.865, allocations: 5.547 kB / 1.216 GB, free: 1.039 MB / 0.9669 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=50 --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