Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.001406/0.001406, allocations: 98.44 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.001521/0.001522, allocations: 177.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 2.738/2.738, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.824/4.824, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007796/0.00078, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.223, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001371/1.225, allocations: 0.5149 MB / 0.9814 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001509/1.225, allocations: 39.78 kB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/1.225, allocations: 4 kB / 0.9814 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/1.225, allocations: 3.938 kB / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.526e-05/1.225, allocations: 7.984 kB / 0.9814 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.382e-05/1.225, allocations: 8 kB / 0.9814 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/1.225, allocations: 39.89 kB / 0.9815 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/1.226, allocations: 36.16 kB / 0.9815 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/1.226, allocations: 19.86 kB / 0.9815 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/1.226, allocations: 15.88 kB / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/1.226, allocations: 0 / 0.9815 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/1.226, allocations: 4 kB / 0.9816 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/1.226, allocations: 11.92 kB / 0.9816 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/1.226, allocations: 37.64 kB / 0.9816 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/1.226, allocations: 54.12 kB / 0.9817 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.226, allocations: 0 / 0.9817 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/1.226, allocations: 0 / 0.9817 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.226, allocations: 0 / 0.9817 GB, free: 5.531 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.0005526/1.227, allocations: 371 kB / 0.982 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/1.227, allocations: 8.031 kB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/1.227, allocations: 46.48 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.227, allocations: 11.91 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/1.227, allocations: 179 kB / 0.9822 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.227, allocations: 8 kB / 0.9822 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/1.227, allocations: 7.938 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/1.227, allocations: 103.2 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.227, allocations: 0 / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.227, allocations: 4 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.227, allocations: 0 / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.228, allocations: 35.92 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/1.228, allocations: 440.7 kB / 0.9828 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/1.228, allocations: 37.25 kB / 0.9828 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/1.228, allocations: 4 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.229, allocations: 34.55 kB / 0.9829 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.229, allocations: 0 / 0.9829 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.00026/1.229, allocations: 61.53 kB / 0.9829 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.229, allocations: 85.06 kB / 0.983 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/1.229, allocations: 164 kB / 0.9832 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/1.229, allocations: 29.95 kB / 0.9832 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.229, allocations: 104 kB / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/1.229, allocations: 11.84 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/1.229, allocations: 0 / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.23, allocations: 318.8 kB / 0.9836 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/1.23, allocations: 8 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/1.23, allocations: 13.72 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/1.23, allocations: 19.94 kB / 0.9837 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.23, allocations: 0 / 0.9837 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/1.23, allocations: 53.59 kB / 0.9837 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.23, allocations: 4 kB / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.23, allocations: 0 / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.23, allocations: 4 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/1.23, allocations: 8 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.23, allocations: 11.83 kB / 0.9837 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/1.23, allocations: 4 kB / 0.9837 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.23, allocations: 4.047 kB / 0.9837 GB, free: 3.125 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.0001161/1.23, allocations: 117.8 kB / 0.9839 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/1.23, allocations: 7.906 kB / 0.9839 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/1.23, allocations: 11.88 kB / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.23, allocations: 0 / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.23, allocations: 0 / 0.9839 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.23, allocations: 3.953 kB / 0.9839 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/1.231, allocations: 474.7 kB / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.231, allocations: 3.984 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/1.231, allocations: 4 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.231, allocations: 0 / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.231, allocations: 4 kB / 0.9843 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.231, allocations: 3.953 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/1.231, allocations: 0 / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.231, allocations: 91.62 kB / 0.9844 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/1.231, allocations: 89 kB / 0.9845 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/1.231, allocations: 3.953 kB / 0.9845 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/1.231, allocations: 0 / 0.9845 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/1.231, allocations: 4 kB / 0.9845 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.231, allocations: 0 / 0.9845 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001211/1.231, allocations: 125.1 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.231, allocations: 32 / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003152/1.232, allocations: 11.94 kB / 0.9847 GB, free: 2.074 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.0004899/1.232, allocations: 0.6992 MB / 0.9853 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001121/1.232, allocations: 24.02 kB / 0.9854 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.232, allocations: 0 / 0.9854 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/1.232, allocations: 4 kB / 0.9854 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/1.233, allocations: 7.938 kB / 0.9854 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.234, allocations: 0.6987 MB / 0.9861 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.234, allocations: 0.7004 MB / 0.9867 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.121e-05/1.234, allocations: 4.438 kB / 0.9867 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/1.234, allocations: 27.42 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/1.234, allocations: 0 / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/1.284, allocations: 1.476 MB / 0.9882 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003701/1.285, allocations: 191.5 kB / 0.9884 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/4.177, allocations: 0 / 0.9884 GB, free: 14.22 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat does not exist to compare? outputFormat=mat