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.001065/0.001065, 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.001203/0.001203, 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.572/1.572, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.67/2.67, allocations: 409.4 MB / 0.684 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004256, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8974, allocations: 146.8 MB / 0.9811 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.0009095/0.8983, allocations: 0.5109 MB / 0.9816 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.8985, allocations: 43.77 kB / 0.9817 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.8985, allocations: 4 kB / 0.9817 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.8986, allocations: 3.938 kB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.8986, allocations: 3.938 kB / 0.9817 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.8986, allocations: 15.98 kB / 0.9817 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.8987, allocations: 55.84 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.8988, allocations: 32.17 kB / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.8989, allocations: 23.84 kB / 0.9818 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.8989, allocations: 19.86 kB / 0.9818 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.8989, allocations: 0 / 0.9818 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.8989, allocations: 0 / 0.9818 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.899, allocations: 15.88 kB / 0.9818 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.899, allocations: 37.64 kB / 0.9819 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.869e-05/0.8991, allocations: 50.14 kB / 0.9819 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8991, allocations: 4 kB / 0.9819 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8991, allocations: 0 / 0.9819 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.8991, allocations: 0 / 0.9819 GB, free: 5.383 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.0003817/0.8995, allocations: 363 kB / 0.9823 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8995, allocations: 12.03 kB / 0.9823 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.8996, allocations: 38.55 kB / 0.9823 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.8996, allocations: 15.91 kB / 0.9823 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.8999, allocations: 190.9 kB / 0.9825 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.8999, allocations: 7.938 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.8999, allocations: 11.98 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.9001, allocations: 92.97 kB / 0.9826 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.9001, allocations: 0 / 0.9826 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.9001, allocations: 8 kB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.9001, allocations: 0 / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.9002, allocations: 43.92 kB / 0.9827 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.9008, allocations: 424.6 kB / 0.9831 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.9008, allocations: 37.28 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.9009, allocations: 29.83 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.9009, allocations: 0 / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.9009, allocations: 30.56 kB / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.9009, allocations: 0 / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.9011, allocations: 57.5 kB / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9011, allocations: 85.36 kB / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.9013, allocations: 168 kB / 0.9835 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.9013, allocations: 25.7 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.9014, allocations: 104 kB / 0.9836 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.9014, allocations: 11.78 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-06/0.9014, allocations: 0 / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9016, allocations: 322.8 kB / 0.9839 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.9016, allocations: 3.938 kB / 0.9839 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.9016, allocations: 33.69 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.9017, allocations: 8 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9017, allocations: 0 / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.903e-05/0.9018, allocations: 53.55 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9018, allocations: 8 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9018, allocations: 0 / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.9018, allocations: 3.984 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.9019, allocations: 4.062 kB / 0.984 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.9019, allocations: 11.95 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.9019, allocations: 4 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.9019, allocations: 0 / 0.984 GB, free: 2.957 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.497e-05/0.902, allocations: 113.8 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.9021, allocations: 7.906 kB / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.9021, allocations: 11.86 kB / 0.9842 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9021, allocations: 4 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.9021, allocations: 4 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.9021, allocations: 7.953 kB / 0.9842 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.9025, allocations: 474.7 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9025, allocations: 3.938 kB / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.9026, allocations: 0 / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9026, allocations: 4 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.9026, allocations: 3.953 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9026, allocations: 0 / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9026, allocations: 3.938 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.031e-05/0.9027, allocations: 77.95 kB / 0.9847 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.9027, allocations: 89.02 kB / 0.9848 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.9028, allocations: 3.984 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.9028, allocations: 7.953 kB / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-06/0.9028, allocations: 0 / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.9028, allocations: 32 / 0.9848 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.649e-05/0.9029, allocations: 125.1 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9029, allocations: 0 / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001827/0.9031, allocations: 11.94 kB / 0.985 GB, free: 1.914 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.0003717/0.9035, allocations: 0.6132 MB / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.9036, allocations: 16 kB / 0.9856 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9036, allocations: 3.938 kB / 0.9856 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/0.9036, allocations: 7.938 kB / 0.9856 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.9037, allocations: 15.89 kB / 0.9856 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.9045, allocations: 0.5441 MB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.9048, allocations: 0.6927 MB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.9048, allocations: 8.422 kB / 0.9868 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.9048, allocations: 19.44 kB / 0.9868 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/0.9048, allocations: 0 / 0.9868 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009429/0.9143, allocations: 1.486 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.9145, allocations: 202 kB / 0.9885 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.659, allocations: 0 / 0.9885 GB, free: 14.29 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