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.000861/0.0008611, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008827/0.0008828, allocations: 168.7 kB / 15.95 MB, free: 204 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.552/1.552, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.683/2.683, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 12 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.805, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001034/0.8061, allocations: 0.5186 MB / 0.9816 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.8062, allocations: 39.78 kB / 0.9817 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.8063, allocations: 4 kB / 0.9817 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.8063, allocations: 3.938 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.8064, allocations: 3.938 kB / 0.9817 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.994e-05/0.8065, allocations: 15.98 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.8066, allocations: 55.84 kB / 0.9818 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.8067, allocations: 28.17 kB / 0.9818 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.8068, allocations: 23.84 kB / 0.9818 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.8068, allocations: 15.81 kB / 0.9818 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.8069, allocations: 4 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.8069, allocations: 4 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.8069, allocations: 15.92 kB / 0.9819 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.8069, allocations: 37.64 kB / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.807, allocations: 46.14 kB / 0.9819 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.807, allocations: 0 / 0.9819 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.807, allocations: 0 / 0.9819 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.807, allocations: 0 / 0.9819 GB, free: 5.469 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.0004088/0.8075, allocations: 371 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8075, allocations: 8.031 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.8076, allocations: 46.55 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.8076, allocations: 7.906 kB / 0.9823 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.8078, allocations: 194.9 kB / 0.9825 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.8078, allocations: 8 kB / 0.9825 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.8078, allocations: 4 kB / 0.9825 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.808, allocations: 100.8 kB / 0.9826 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.808, allocations: 7.922 kB / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.8081, allocations: 0 / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.8081, allocations: 8 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.504e-05/0.8081, allocations: 39.92 kB / 0.9827 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.8087, allocations: 424.7 kB / 0.9831 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.8087, allocations: 45.19 kB / 0.9831 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.8088, allocations: 21.83 kB / 0.9832 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.8088, allocations: 4 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.8088, allocations: 30.56 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.8088, allocations: 0 / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.809, allocations: 57.72 kB / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.8091, allocations: 81.11 kB / 0.9833 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.8092, allocations: 166.6 kB / 0.9835 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.8092, allocations: 25.7 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.8093, allocations: 100 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.8093, allocations: 19.78 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.8093, allocations: 0 / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8094, allocations: 318.8 kB / 0.9839 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.8094, allocations: 8.031 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.8095, allocations: 25.64 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.8095, allocations: 12 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8095, allocations: 0 / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.379e-05/0.8096, allocations: 49.61 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8096, allocations: 4 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8096, allocations: 0 / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8096, allocations: 8 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.8097, allocations: 11.98 kB / 0.984 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8097, allocations: 3.953 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.8098, allocations: 4 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.8098, allocations: 0 / 0.984 GB, free: 3.035 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 8.201e-05/0.8099, allocations: 113.8 kB / 0.9842 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.8099, allocations: 7.906 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.8099, allocations: 15.86 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.8099, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8099, allocations: 0 / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.81, allocations: 7.953 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.8103, allocations: 470.7 kB / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8103, allocations: 0 / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.8104, allocations: 4 kB / 0.9846 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8104, allocations: 0 / 0.9846 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8104, allocations: 11.89 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8104, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.8104, allocations: 4.062 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.8105, allocations: 77.83 kB / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.8105, allocations: 93.02 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.8106, allocations: 3.984 kB / 0.9848 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.8106, allocations: 3.953 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.8106, allocations: 4 kB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8106, allocations: 4.031 kB / 0.9848 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.49e-05/0.8107, allocations: 121.1 kB / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.242e-06/0.8107, allocations: 0 / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001811/0.8109, allocations: 11.88 kB / 0.985 GB, free: 1.992 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.0003522/0.8113, allocations: 0.6171 MB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.8114, allocations: 12 kB / 0.9856 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8114, allocations: 4 kB / 0.9856 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.8114, allocations: 7.938 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.8115, allocations: 7.953 kB / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.8123, allocations: 0.548 MB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.8126, allocations: 0.6966 MB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.8126, allocations: 8.422 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.8127, allocations: 19.44 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8127, allocations: 0 / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.8247, allocations: 1.482 MB / 0.9883 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.825, allocations: 201.4 kB / 0.9885 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.541, allocations: 0 / 0.9885 GB, free: 14.38 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