Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0008717/0.0008716, allocations: 91.69 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.0009545/0.0009547, 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.561/2.561, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7695, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001045/0.7706, allocations: 0.5108 MB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.7707, allocations: 39.78 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.7708, allocations: 4 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.7708, allocations: 7.922 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.7709, allocations: 3.938 kB / 0.9817 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.851e-05/0.771, allocations: 15.98 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.7711, allocations: 51.86 kB / 0.9818 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.7712, allocations: 32.14 kB / 0.9818 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.664e-05/0.7713, allocations: 23.88 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.7713, allocations: 19.86 kB / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.7714, allocations: 0 / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.7714, allocations: 4 kB / 0.9818 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.7714, allocations: 3.938 kB / 0.9818 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.7714, allocations: 41.62 kB / 0.9819 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.7715, allocations: 54.12 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7716, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7716, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7716, allocations: 3.938 kB / 0.9819 GB, free: 5.445 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.0004492/0.772, allocations: 376.5 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.7721, allocations: 8.031 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.7721, allocations: 42.55 kB / 0.9823 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.7722, allocations: 11.91 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.7724, allocations: 182.9 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.7725, allocations: 11.94 kB / 0.9825 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7725, allocations: 4 kB / 0.9825 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.7727, allocations: 104.7 kB / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7727, allocations: 0 / 0.9826 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.7727, allocations: 4 kB / 0.9826 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7727, allocations: 3.984 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.7728, allocations: 35.92 kB / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.7734, allocations: 436.6 kB / 0.9831 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.7735, allocations: 41.41 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.7735, allocations: 17.72 kB / 0.9832 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.7735, allocations: 0 / 0.9832 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7736, allocations: 38.55 kB / 0.9832 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7736, allocations: 0 / 0.9832 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001869/0.7738, allocations: 57.5 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.7738, allocations: 77.11 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.774, allocations: 172.2 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.774, allocations: 25.7 kB / 0.9835 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.7741, allocations: 100 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.7741, allocations: 11.84 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.7741, allocations: 8.188 kB / 0.9836 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7742, allocations: 322.8 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.7743, allocations: 4 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.7743, allocations: 17.72 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.7743, allocations: 8 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7743, allocations: 0 / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.448e-05/0.7744, allocations: 57.59 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7745, allocations: 15.94 kB / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7745, allocations: 0 / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7745, allocations: 0 / 0.984 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.7746, allocations: 8 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7746, allocations: 3.953 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.7746, allocations: 0 / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.7746, allocations: 7.984 kB / 0.9841 GB, free: 3.016 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.21e-05/0.7747, allocations: 113.8 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.7748, allocations: 7.906 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.7748, allocations: 11.88 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7748, allocations: 0 / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7749, allocations: 4 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7749, allocations: 3.953 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.7753, allocations: 470.7 kB / 0.9846 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7753, allocations: 7.922 kB / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.7753, allocations: 4 kB / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7753, allocations: 4.156 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.7753, allocations: 7.938 kB / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7753, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7753, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.553e-05/0.7754, allocations: 77.84 kB / 0.9847 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.7755, allocations: 89 kB / 0.9848 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.7755, allocations: 8.031 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.11e-05/0.7756, allocations: 7.953 kB / 0.9848 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.7756, allocations: 0 / 0.9848 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7756, allocations: 0 / 0.9848 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.749e-05/0.7757, allocations: 120.9 kB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7757, allocations: 0 / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001954/0.7759, allocations: 11.94 kB / 0.985 GB, free: 1.977 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.0003853/0.7763, allocations: 0.6132 MB / 0.9856 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.7764, allocations: 19.98 kB / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7764, allocations: 0 / 0.9856 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.7764, allocations: 7.938 kB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.7766, allocations: 12.23 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.7774, allocations: 0.5481 MB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.7777, allocations: 0.6965 MB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.7778, allocations: 4.438 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.7778, allocations: 23.42 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.7778, allocations: 0 / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.7907, allocations: 1.481 MB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.7909, allocations: 200.2 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.588, allocations: 0 / 0.9885 GB, free: 14.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat does not exist to compare? outputFormat=mat