Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.001794/0.001794, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.002923/0.002923, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.752/2.752, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.54/4.54, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007263/0.0007267, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.147, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001416/1.149, allocations: 0.5188 MB / 0.9814 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001538/1.149, allocations: 43.78 kB / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/1.149, allocations: 4 kB / 0.9814 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/1.149, allocations: 3.938 kB / 0.9814 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/1.149, allocations: 0 / 0.9814 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.505e-05/1.149, allocations: 19.92 kB / 0.9814 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/1.149, allocations: 39.95 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/1.149, allocations: 28.16 kB / 0.9815 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/1.15, allocations: 19.88 kB / 0.9815 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/1.15, allocations: 15.86 kB / 0.9815 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/1.15, allocations: 3.938 kB / 0.9815 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/1.15, allocations: 8 kB / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/1.15, allocations: 11.92 kB / 0.9816 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/1.15, allocations: 37.64 kB / 0.9816 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/1.15, allocations: 54.12 kB / 0.9817 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/1.15, allocations: 0 / 0.9817 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.036e-06/1.15, allocations: 0 / 0.9817 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.15, allocations: 0 / 0.9817 GB, free: 5.457 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.0005442/1.15, allocations: 371 kB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.15, allocations: 8.031 kB / 0.982 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/1.151, allocations: 38.56 kB / 0.982 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/1.151, allocations: 15.91 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/1.151, allocations: 186.9 kB / 0.9822 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.151, allocations: 8 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.151, allocations: 4 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/1.151, allocations: 95.25 kB / 0.9823 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.151, allocations: 3.938 kB / 0.9823 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.151, allocations: 4 kB / 0.9824 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.151, allocations: 4 kB / 0.9824 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/1.152, allocations: 39.92 kB / 0.9824 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/1.153, allocations: 432.7 kB / 0.9828 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/1.153, allocations: 45.19 kB / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/1.153, allocations: 0 / 0.9829 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/1.153, allocations: 34.69 kB / 0.9829 GB, free: 4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/1.153, allocations: 0 / 0.9829 GB, free: 4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002595/1.153, allocations: 53.53 kB / 0.9829 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/1.153, allocations: 81.31 kB / 0.983 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/1.154, allocations: 174.6 kB / 0.9832 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.154, allocations: 25.7 kB / 0.9832 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.154, allocations: 104 kB / 0.9833 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/1.154, allocations: 11.84 kB / 0.9833 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.154, allocations: 0 / 0.9833 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.154, allocations: 314.8 kB / 0.9836 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/1.154, allocations: 7.984 kB / 0.9836 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/1.154, allocations: 21.66 kB / 0.9836 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/1.154, allocations: 12 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.154, allocations: 0 / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/1.154, allocations: 57.59 kB / 0.9837 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.154, allocations: 5.562 kB / 0.9837 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.154, allocations: 0 / 0.9837 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.154, allocations: 3.938 kB / 0.9837 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/1.155, allocations: 11.94 kB / 0.9837 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/1.155, allocations: 3.953 kB / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.155, allocations: 8.062 kB / 0.9837 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/1.155, allocations: 0 / 0.9837 GB, free: 3.059 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.0001132/1.155, allocations: 115.6 kB / 0.9839 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/1.155, allocations: 11.98 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/1.155, allocations: 15.86 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.155, allocations: 0 / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.155, allocations: 0 / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/1.155, allocations: 3.953 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/1.156, allocations: 478.7 kB / 0.9843 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.156, allocations: 0 / 0.9843 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/1.156, allocations: 4 kB / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.156, allocations: 0 / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/1.156, allocations: 0 / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.156, allocations: 7.953 kB / 0.9843 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.156, allocations: 3.984 kB / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/1.156, allocations: 87.62 kB / 0.9844 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/1.156, allocations: 93 kB / 0.9845 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.156, allocations: 3.953 kB / 0.9845 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/1.156, allocations: 0 / 0.9845 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/1.156, allocations: 0 / 0.9845 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.156, allocations: 8 kB / 0.9845 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001201/1.157, allocations: 121.1 kB / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/1.157, allocations: 0 / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002827/1.157, allocations: 15.94 kB / 0.9847 GB, free: 1.996 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.0006762/1.158, allocations: 0.6992 MB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/1.158, allocations: 8 kB / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.158, allocations: 0 / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/1.158, allocations: 11.94 kB / 0.9854 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.0001562/1.158, allocations: 8 kB / 0.9854 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/1.159, allocations: 0.6949 MB / 0.9861 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.159, allocations: 0.7004 MB / 0.9867 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.644e-05/1.16, allocations: 12.36 kB / 0.9868 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.16, allocations: 23.44 kB / 0.9868 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/1.16, allocations: 0 / 0.9868 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/1.206, allocations: 1.473 MB / 0.9882 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/1.207, allocations: 194 kB / 0.9884 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.978, allocations: 0 / 0.9884 GB, free: 14.14 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat does not exist to compare? outputFormat=mat