Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.008223/0.008223, allocations: 99.86 kB / 15.73 MB, free: 6.031 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.001281/0.001281, allocations: 196 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 68.11 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3292, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002092/0.3313, allocations: 0.8284 MB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.3315, allocations: 47.78 kB / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.3315, allocations: 0 / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.378e-05/0.3316, allocations: 11.86 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.3317, allocations: 11.88 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.517e-05/0.3318, allocations: 15.98 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3319, allocations: 63.84 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.3321, allocations: 43.91 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.3322, allocations: 27.88 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.3322, allocations: 31.83 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3323, allocations: 8 kB / 1.208 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.3323, allocations: 4 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.3323, allocations: 19.88 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.3324, allocations: 35.73 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3325, allocations: 75.92 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3325, allocations: 0 / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3325, allocations: 0 / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3325, allocations: 0 / 1.208 GB, free: 8.914 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.0004547/0.333, allocations: 383.2 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.333, allocations: 8.625 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.3331, allocations: 38.75 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.3331, allocations: 8.844 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3333, allocations: 200.1 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3333, allocations: 4.375 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3334, allocations: 8.375 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3335, allocations: 93.61 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3335, allocations: 3.938 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3336, allocations: 8 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3336, allocations: 3.984 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.3336, allocations: 43.91 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.3342, allocations: 432.5 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.3343, allocations: 37.16 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.3343, allocations: 17.84 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.3343, allocations: 4 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3343, allocations: 34.59 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3343, allocations: 0 / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.3345, allocations: 61.47 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3346, allocations: 85.11 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3347, allocations: 154.2 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3348, allocations: 29.7 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.3348, allocations: 107.9 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-06/0.3348, allocations: 0 / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3349, allocations: 21.62 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.335, allocations: 323.1 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.335, allocations: 4 kB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.335, allocations: 21.66 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.3351, allocations: 33.64 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3351, allocations: 0 / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.471e-05/0.3352, allocations: 53.61 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3352, allocations: 12 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3352, allocations: 4 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3352, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.3353, allocations: 11.92 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3353, allocations: 0 / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.3354, allocations: 7.938 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.3354, allocations: 0 / 1.211 GB, free: 6.43 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 7.03e-05/0.3355, allocations: 113.8 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.3355, allocations: 11.84 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.3355, allocations: 15.88 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3355, allocations: 0 / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3356, allocations: 3.984 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3356, allocations: 4 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.336, allocations: 474.7 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.336, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.336, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.336, allocations: 4.062 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.336, allocations: 4 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.336, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.336, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.936e-05/0.3361, allocations: 89.7 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.3362, allocations: 85.02 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3362, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.084e-05/0.3362, allocations: 8.031 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3362, allocations: 3.984 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3363, allocations: 0 / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.021e-05/0.3363, allocations: 125.7 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3364, allocations: 0 / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001864/0.3365, allocations: 8 kB / 1.212 GB, free: 5.383 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.0003901/0.3369, allocations: 0.6131 MB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.337, allocations: 19.98 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3371, allocations: 0 / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.3371, allocations: 11.88 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3372, allocations: 13.03 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3385, allocations: 1.323 MB / 1.213 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3388, allocations: 0.6889 MB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.3389, allocations: 8.422 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3389, allocations: 31.42 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of SimCode: time 5.72e-07/0.3389, allocations: 0 / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.3571, allocations: 1.601 MB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.053, allocations: 2.625 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches