Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 405.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 173.2 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.1 MB / 0.7948 GB, free: 18.02 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 98.83 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 10.2 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5327, allocations: 148.8 MB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.533, allocations: 67.95 kB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002743/0.5358, allocations: 1.079 MB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5358, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.5358, allocations: 4 kB / 1.369 GB, free: 12.08 MB / 0.8698 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.0004578/0.5363, allocations: 379 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5364, allocations: 8.031 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.5364, allocations: 38.56 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.5365, allocations: 15.8 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.5367, allocations: 182.8 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5367, allocations: 8 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.5367, allocations: 4 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5369, allocations: 91.39 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.537, allocations: 4 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.537, allocations: 4 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.537, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.5371, allocations: 39.92 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.5378, allocations: 448.5 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.5379, allocations: 45.33 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.5379, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.5379, allocations: 34.56 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.5379, allocations: 0 / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002165/0.5381, allocations: 53.59 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.5382, allocations: 85.11 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5384, allocations: 143.4 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.5384, allocations: 25.92 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.5385, allocations: 115.8 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-06/0.5385, allocations: 256 / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.5385, allocations: 8 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.5386, allocations: 326.8 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.5387, allocations: 4 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.5387, allocations: 17.72 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.5387, allocations: 11.98 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5387, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.272e-05/0.5388, allocations: 65.58 kB / 1.371 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5389, allocations: 4.625 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5389, allocations: 0 / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5389, allocations: 4 kB / 1.371 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.539, allocations: 7.984 kB / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.539, allocations: 0 / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.539, allocations: 11.91 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.539, allocations: 0 / 1.371 GB, free: 9.691 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.5391, allocations: 121.7 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.5392, allocations: 11.94 kB / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.5392, allocations: 7.875 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5392, allocations: 0 / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5392, allocations: 0 / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5393, allocations: 3.984 kB / 1.372 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.5397, allocations: 478.7 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5397, allocations: 0 / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.5397, allocations: 4 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5397, allocations: 4.062 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5397, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5397, allocations: 4 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5397, allocations: 3.938 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.5399, allocations: 91.56 kB / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.5399, allocations: 89.05 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.5399, allocations: 3.984 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.54, allocations: 4 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.54, allocations: 4 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.54, allocations: 0 / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000107/0.5401, allocations: 124.6 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5401, allocations: 3.938 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001786/0.5403, allocations: 11.91 kB / 1.372 GB, free: 8.621 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004324/0.5407, allocations: 0.6951 MB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5409, allocations: 16 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5409, allocations: 0 / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.5409, allocations: 16.09 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.541, allocations: 13.67 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.542, allocations: 0.6892 MB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.5423, allocations: 0.6965 MB / 1.374 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.5424, allocations: 8.422 kB / 1.374 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.5424, allocations: 23.44 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of SimCode: time 4.508e-06/0.5424, allocations: 0 / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.5556, allocations: 1.478 MB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.5558, allocations: 188.5 kB / 1.376 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.099, allocations: 1.266 kB / 1.376 GB, free: 4.746 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat