Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.0009588/0.0009588, allocations: 95.62 kB / 15.05 MB, free: 1.109 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.001137/0.001137, allocations: 181.3 kB / 15.95 MB, free: 216 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.61/1.61, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.071/3.071, allocations: 409.2 MB / 0.6838 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006029, allocations: 12 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9/0.9006, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001607/0.9023, allocations: 0.5266 MB / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.9025, allocations: 35.8 kB / 0.9814 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.9026, allocations: 4 kB / 0.9814 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.9027, allocations: 7.922 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.9028, allocations: 7.984 kB / 0.9814 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.548e-05/0.9028, allocations: 11.98 kB / 0.9815 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.903, allocations: 35.91 kB / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.9032, allocations: 32.17 kB / 0.9815 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.9033, allocations: 19.86 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.9034, allocations: 23.84 kB / 0.9816 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.9034, allocations: 0 / 0.9816 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.9034, allocations: 4 kB / 0.9816 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.9035, allocations: 7.938 kB / 0.9816 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.9035, allocations: 37.64 kB / 0.9816 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.9037, allocations: 50.14 kB / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.9037, allocations: 0 / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9037, allocations: 0 / 0.9817 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9037, allocations: 0 / 0.9817 GB, free: 5.508 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.000587/0.9043, allocations: 371 kB / 0.982 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.9043, allocations: 8.031 kB / 0.982 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.9044, allocations: 42.55 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.9045, allocations: 11.91 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.9048, allocations: 187 kB / 0.9822 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9048, allocations: 15.86 kB / 0.9823 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.9048, allocations: 8 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.9051, allocations: 95.25 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9051, allocations: 0 / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9051, allocations: 4 kB / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.9051, allocations: 0 / 0.9824 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.9052, allocations: 39.92 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007002/0.9059, allocations: 436.7 kB / 0.9828 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.9061, allocations: 41.25 kB / 0.9829 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9061, allocations: 3.984 kB / 0.9829 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.9061, allocations: 34.5 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.9061, allocations: 0 / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.9063, allocations: 53.61 kB / 0.9829 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.9064, allocations: 85.06 kB / 0.983 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.9066, allocations: 162.9 kB / 0.9832 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.9067, allocations: 29.7 kB / 0.9832 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.9068, allocations: 108 kB / 0.9833 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.9068, allocations: 7.844 kB / 0.9833 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.9068, allocations: 0 / 0.9833 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.907, allocations: 318.8 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.9071, allocations: 4 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.9071, allocations: 17.72 kB / 0.9836 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.9071, allocations: 23.92 kB / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9071, allocations: 0 / 0.9837 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.9073, allocations: 49.61 kB / 0.9837 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9073, allocations: 5.719 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.9073, allocations: 4 kB / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9073, allocations: 0 / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.9074, allocations: 11.92 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.9074, allocations: 3.953 kB / 0.9837 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.9075, allocations: 8 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.9075, allocations: 4.062 kB / 0.9838 GB, free: 3.102 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 0.0001031/0.9076, allocations: 113.8 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.9076, allocations: 7.906 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.9077, allocations: 7.875 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9077, allocations: 3.938 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9077, allocations: 0 / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.9077, allocations: 7.938 kB / 0.9839 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.9082, allocations: 478.7 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9082, allocations: 0 / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.9082, allocations: 4.094 kB / 0.9843 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.9082, allocations: 3.984 kB / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.9082, allocations: 4 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.9083, allocations: 3.953 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9083, allocations: 0 / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.9084, allocations: 95.61 kB / 0.9844 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.9085, allocations: 85.02 kB / 0.9845 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.9085, allocations: 3.953 kB / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.9085, allocations: 0 / 0.9845 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.9086, allocations: 7.984 kB / 0.9845 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.9086, allocations: 0 / 0.9845 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001191/0.9087, allocations: 121.1 kB / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9087, allocations: 7.969 kB / 0.9847 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002139/0.9089, allocations: 11.94 kB / 0.9847 GB, free: 2.039 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.0005298/0.9095, allocations: 0.6953 MB / 0.9854 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.9096, allocations: 19.98 kB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9096, allocations: 0 / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.9096, allocations: 7.938 kB / 0.9854 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.9097, allocations: 4 kB / 0.9854 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.9107, allocations: 0.6987 MB / 0.9861 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.911, allocations: 0.7004 MB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.9111, allocations: 4.438 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.9111, allocations: 27.42 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.9111, allocations: 0 / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.9235, allocations: 1.472 MB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.9238, allocations: 194.9 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.202, allocations: 0 / 0.9884 GB, free: 14.18 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat does not exist to compare? outputFormat=mat