Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.0008508/0.0008506, allocations: 91.84 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.0007977/0.0007977, 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.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8351, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009879/0.8362, allocations: 0.5224 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/0.8363, allocations: 32.39 kB / 0.9544 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.8363, allocations: 1.469 kB / 0.9544 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.8364, allocations: 5.375 kB / 0.9544 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.8364, allocations: 11.91 kB / 0.9544 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/0.8365, allocations: 11.84 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.8366, allocations: 54 kB / 0.9545 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.8367, allocations: 34.5 kB / 0.9545 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.8368, allocations: 13.53 kB / 0.9545 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.8369, allocations: 20.05 kB / 0.9545 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.8369, allocations: 1.406 kB / 0.9545 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.8369, allocations: 5.375 kB / 0.9545 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.8369, allocations: 6.875 kB / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.8369, allocations: 36.58 kB / 0.9546 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.823e-05/0.837, allocations: 52.69 kB / 0.9546 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.837, allocations: 7.938 kB / 0.9546 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.043e-06/0.837, allocations: 0 / 0.9546 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.8371, allocations: 0 / 0.9546 GB, free: 7.449 MB / 0.7169 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.000344/0.8374, allocations: 365.2 kB / 0.955 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8375, allocations: 9.188 kB / 0.955 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.8375, allocations: 40.62 kB / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.8375, allocations: 16.58 kB / 0.9551 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.8377, allocations: 189.1 kB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.8377, allocations: 6.781 kB / 0.9552 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.8377, allocations: 13.08 kB / 0.9553 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8379, allocations: 88.33 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.8379, allocations: 8.781 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8379, allocations: 1.188 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8379, allocations: 1.094 kB / 0.9554 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.838, allocations: 40 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.8385, allocations: 445.8 kB / 0.9558 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.527e-05/0.8385, allocations: 37.28 kB / 0.9559 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.8386, allocations: 15.09 kB / 0.9559 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.8386, allocations: 5.125 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.8386, allocations: 39.62 kB / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8386, allocations: 0 / 0.9559 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.8388, allocations: 50.75 kB / 0.956 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.8388, allocations: 82.45 kB / 0.956 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.839, allocations: 163.4 kB / 0.9562 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.839, allocations: 29.7 kB / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.839, allocations: 104.9 kB / 0.9563 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.839, allocations: 9.375 kB / 0.9563 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.8391, allocations: 0 / 0.9563 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.8391, allocations: 320.3 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.8391, allocations: 12.23 kB / 0.9566 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.8391, allocations: 17.56 kB / 0.9567 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.8392, allocations: 9.438 kB / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.8392, allocations: 0 / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.487e-05/0.8393, allocations: 62.78 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8393, allocations: 4.969 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8393, allocations: 1.062 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8393, allocations: 0.9688 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.8394, allocations: 5.312 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8394, allocations: 1.594 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.8394, allocations: 1.562 kB / 0.9567 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8394, allocations: 9.562 kB / 0.9568 GB, free: 5.289 MB / 0.7169 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 6.299e-05/0.8395, allocations: 117.2 kB / 0.9569 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.8395, allocations: 8.344 kB / 0.9569 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.8396, allocations: 14.55 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8396, allocations: 0.8125 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8396, allocations: 0.9688 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.8396, allocations: 7.875 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.8399, allocations: 471.3 kB / 0.9573 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8399, allocations: 4 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.8399, allocations: 7.344 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8399, allocations: 0 / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.8399, allocations: 1.125 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8399, allocations: 1.062 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8399, allocations: 5.234 kB / 0.9574 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.581e-05/0.84, allocations: 82.02 kB / 0.9574 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.8401, allocations: 87.53 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.8401, allocations: 1.094 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.8401, allocations: 1.094 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.8401, allocations: 0.9375 kB / 0.9575 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8401, allocations: 5.062 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.8402, allocations: 128 kB / 0.9577 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8402, allocations: 0 / 0.9577 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001888/0.8404, allocations: 15.59 kB / 0.9577 GB, free: 4.328 MB / 0.7169 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.0002569/0.8407, allocations: 0.6075 MB / 0.9583 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.8407, allocations: 22.38 kB / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8408, allocations: 0 / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.8408, allocations: 4.5 kB / 0.9583 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.8409, allocations: 7.5 kB / 0.9583 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.8417, allocations: 0.5432 MB / 0.9588 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.8418, allocations: 0.6909 MB / 0.9595 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.8419, allocations: 17.2 kB / 0.9595 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.8419, allocations: 27.02 kB / 0.9595 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8419, allocations: 0 / 0.9595 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.8543, allocations: 1.494 MB / 0.961 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.8546, allocations: 198.3 kB / 0.9612 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.475, allocations: 0 / 0.9612 GB, free: 1.574 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat