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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0008526/0.0008527, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005182/0.005182, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 8.75 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2506, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0008332/0.2515, allocations: 0.5453 MB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.847e-05/0.2516, allocations: 43.78 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.2516, allocations: 4 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.2516, allocations: 3.938 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.2517, allocations: 0 / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-05/0.2517, allocations: 19.98 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.2518, allocations: 55.78 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2519, allocations: 47.95 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.252, allocations: 15.88 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.252, allocations: 19.86 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2521, allocations: 0 / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-06/0.2521, allocations: 0 / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2521, allocations: 7.938 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.2521, allocations: 61.38 kB / 1.06 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.2522, allocations: 67.97 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2522, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2522, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.2523, allocations: 0 / 1.06 GB, free: 4.004 MB / 0.8106 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.0003419/0.2526, allocations: 363.3 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2526, allocations: 19.95 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2527, allocations: 34.75 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.2527, allocations: 8.844 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.2529, allocations: 192.2 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2529, allocations: 8.375 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.2529, allocations: 12.31 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2531, allocations: 91.89 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2531, allocations: 7.938 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2531, allocations: 4 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.2531, allocations: 3.938 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.2532, allocations: 35.92 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.2537, allocations: 448.6 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.2538, allocations: 41.23 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.2538, allocations: 17.78 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.2538, allocations: 4 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2538, allocations: 34.56 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2538, allocations: 0 / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.254, allocations: 57.47 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.254, allocations: 77.11 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2542, allocations: 169 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2542, allocations: 25.95 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.2543, allocations: 108 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.2543, allocations: 7.984 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.2543, allocations: 9.719 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.2544, allocations: 314.8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.2544, allocations: 7.984 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.2545, allocations: 21.66 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.2545, allocations: 33.72 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2545, allocations: 0 / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.6e-05/0.2546, allocations: 57.53 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2546, allocations: 9.344 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2546, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2546, allocations: 0 / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.2547, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2547, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.2547, allocations: 11.84 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.2548, allocations: 4.062 kB / 1.062 GB, free: 1.531 MB / 0.8106 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.327e-05/0.2548, allocations: 113.8 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.2549, allocations: 11.84 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.2549, allocations: 15.86 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2549, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2549, allocations: 3.938 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2549, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.2553, allocations: 474.8 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2553, allocations: 4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.2553, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2553, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.2553, allocations: 0 / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2553, allocations: 7.922 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2553, allocations: 7.938 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.2554, allocations: 77.91 kB / 1.062 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.2555, allocations: 92.91 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2555, allocations: 4 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/0.2555, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.2555, allocations: 4 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2555, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.2556, allocations: 119.2 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2556, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001849/0.2558, allocations: 12.03 kB / 1.063 GB, free: 496 kB / 0.8106 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.0003056/0.2561, allocations: 0.6131 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.2562, allocations: 24.03 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2562, allocations: 0 / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.2562, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.2564, allocations: 11.98 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2574, allocations: 1.344 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2576, allocations: 0.6887 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.2576, allocations: 8.422 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.2577, allocations: 27.44 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2577, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2752, allocations: 1.366 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2754, allocations: 217 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.804, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 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