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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0008738/0.000874, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.76/2.76, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004073, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8508, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001066/0.8519, allocations: 0.5147 MB / 0.9816 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.852, allocations: 39.78 kB / 0.9817 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.8521, allocations: 0 / 0.9817 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.8521, allocations: 7.922 kB / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.8522, allocations: 7.938 kB / 0.9817 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.39e-05/0.8522, allocations: 19.92 kB / 0.9817 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.8523, allocations: 55.86 kB / 0.9818 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.8525, allocations: 28.16 kB / 0.9818 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.8525, allocations: 19.86 kB / 0.9818 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.8526, allocations: 23.86 kB / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.8526, allocations: 0 / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.8526, allocations: 4 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.8527, allocations: 7.922 kB / 0.9818 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.8527, allocations: 37.64 kB / 0.9819 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.8528, allocations: 54.14 kB / 0.9819 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8528, allocations: 0 / 0.9819 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8528, allocations: 0 / 0.9819 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.8528, allocations: 0 / 0.9819 GB, free: 5.473 MB / 0.7325 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.0004076/0.8532, allocations: 371 kB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.8533, allocations: 8.031 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.8533, allocations: 46.48 kB / 0.9823 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.8534, allocations: 7.906 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.8536, allocations: 190.9 kB / 0.9825 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.8536, allocations: 4 kB / 0.9825 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.8536, allocations: 12 kB / 0.9825 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.8538, allocations: 96.8 kB / 0.9826 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8538, allocations: 4 kB / 0.9826 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8538, allocations: 4 kB / 0.9826 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8538, allocations: 4 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.8539, allocations: 35.92 kB / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.8544, allocations: 428.6 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.8545, allocations: 41.34 kB / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.8546, allocations: 17.78 kB / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.8546, allocations: 0 / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.8546, allocations: 38.55 kB / 0.9832 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.8546, allocations: 4 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.8548, allocations: 53.5 kB / 0.9832 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.8549, allocations: 85.05 kB / 0.9833 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.855, allocations: 166.6 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.8551, allocations: 25.7 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.8552, allocations: 104 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.8552, allocations: 7.844 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.8552, allocations: 4.25 kB / 0.9836 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8554, allocations: 322.8 kB / 0.9839 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.8554, allocations: 7.938 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.8554, allocations: 17.72 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.8554, allocations: 8 kB / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8555, allocations: 0 / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.462e-05/0.8555, allocations: 61.53 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8556, allocations: 8.062 kB / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8556, allocations: 0 / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8556, allocations: 0 / 0.984 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.8557, allocations: 11.94 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.8557, allocations: 3.953 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.8557, allocations: 7.984 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.8557, allocations: 4.094 kB / 0.9841 GB, free: 3.043 MB / 0.7325 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.765e-05/0.8559, allocations: 109.8 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.8559, allocations: 15.89 kB / 0.9842 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.8559, allocations: 11.88 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8559, allocations: 0 / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.856, allocations: 0 / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.856, allocations: 3.953 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.8564, allocations: 478.7 kB / 0.9846 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8564, allocations: 0 / 0.9846 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.8564, allocations: 4 kB / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8564, allocations: 64 / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.8564, allocations: 7.953 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8565, allocations: 7.938 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8565, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.8566, allocations: 73.89 kB / 0.9847 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.8566, allocations: 89.02 kB / 0.9848 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.8567, allocations: 4 kB / 0.9848 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.8567, allocations: 7.984 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.8567, allocations: 0 / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8567, allocations: 4 kB / 0.9848 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.325e-05/0.8568, allocations: 117.1 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8568, allocations: 0 / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001873/0.857, allocations: 11.94 kB / 0.985 GB, free: 2.008 MB / 0.7325 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.0004369/0.8575, allocations: 0.6171 MB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.8576, allocations: 19.92 kB / 0.9856 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8576, allocations: 0 / 0.9856 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.8576, allocations: 4 kB / 0.9856 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.8577, allocations: 11.95 kB / 0.9856 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.8585, allocations: 0.5558 MB / 0.9861 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.8588, allocations: 0.6926 MB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.8589, allocations: 8.422 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.8589, allocations: 19.44 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8589, allocations: 0 / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.8698, allocations: 1.474 MB / 0.9883 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.87, allocations: 202.1 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.616, allocations: 0 / 0.9885 GB, free: 14.39 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat