Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.0009821/0.000982, allocations: 92.08 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.001317/0.001317, 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.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.43 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.462/2.462, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7346, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.0009597/0.7356, allocations: 0.5192 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.826e-05/0.7358, allocations: 44.91 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.7358, allocations: 2.125 kB / 0.9544 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.7358, allocations: 3.938 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.7359, allocations: 5.125 kB / 0.9544 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-05/0.736, allocations: 15.61 kB / 0.9544 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.736, allocations: 53.75 kB / 0.9545 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.7362, allocations: 33.97 kB / 0.9545 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.7362, allocations: 17.42 kB / 0.9545 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.7363, allocations: 20.7 kB / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.7363, allocations: 1.406 kB / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.7363, allocations: 2.375 kB / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.7363, allocations: 9.25 kB / 0.9546 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.885e-05/0.7363, allocations: 37.42 kB / 0.9546 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.498e-05/0.7364, allocations: 52.31 kB / 0.9546 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7364, allocations: 0 / 0.9546 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7364, allocations: 1.594 kB / 0.9546 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.7364, allocations: 4 kB / 0.9546 GB, free: 7.434 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.0002906/0.7367, allocations: 364.1 kB / 0.955 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7368, allocations: 8.562 kB / 0.955 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.7368, allocations: 40.88 kB / 0.955 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.7368, allocations: 16.7 kB / 0.9551 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.737, allocations: 193.6 kB / 0.9552 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.737, allocations: 10.78 kB / 0.9553 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.737, allocations: 9.625 kB / 0.9553 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.7372, allocations: 93.86 kB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7372, allocations: 0 / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.7372, allocations: 0 / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7372, allocations: 2.375 kB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.7373, allocations: 43.44 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.7377, allocations: 434.4 kB / 0.9558 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.7377, allocations: 44.55 kB / 0.9559 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.7378, allocations: 15.91 kB / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.7378, allocations: 0 / 0.9559 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.7378, allocations: 39.72 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7378, allocations: 0 / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.738, allocations: 55.78 kB / 0.956 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.738, allocations: 77.11 kB / 0.956 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7381, allocations: 166.7 kB / 0.9562 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.7382, allocations: 25.7 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.7382, allocations: 104.4 kB / 0.9563 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.7382, allocations: 17.11 kB / 0.9563 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.7382, allocations: 1.219 kB / 0.9563 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.7383, allocations: 319.9 kB / 0.9566 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.7383, allocations: 11.34 kB / 0.9566 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.7383, allocations: 18.64 kB / 0.9567 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.7383, allocations: 9.438 kB / 0.9567 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7384, allocations: 0 / 0.9567 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.157e-05/0.7384, allocations: 67 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7385, allocations: 5.594 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7385, allocations: 0 / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7385, allocations: 1.188 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.7385, allocations: 5.719 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7386, allocations: 0 / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.7386, allocations: 2.469 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.7386, allocations: 1.438 kB / 0.9568 GB, free: 5.273 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.228e-05/0.7387, allocations: 121.9 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.7387, allocations: 7.25 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.7387, allocations: 19.45 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7388, allocations: 0 / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7388, allocations: 1.5 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7388, allocations: 0 / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.739, allocations: 470 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.739, allocations: 5.25 kB / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.7391, allocations: 3.594 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7391, allocations: 0 / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.7391, allocations: 1.219 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7391, allocations: 1.156 kB / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7391, allocations: 0 / 0.9574 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.7392, allocations: 86.34 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.7392, allocations: 92.44 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.7392, allocations: 1.312 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.7393, allocations: 0 / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.7393, allocations: 1.281 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.7393, allocations: 5.406 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.7394, allocations: 128.4 kB / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7394, allocations: 0 / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001893/0.7396, allocations: 10.47 kB / 0.9577 GB, free: 4.316 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.0003163/0.7399, allocations: 0.6193 MB / 0.9583 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.74, allocations: 14.38 kB / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.74, allocations: 0 / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.74, allocations: 12.44 kB / 0.9583 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.7402, allocations: 8.484 kB / 0.9583 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.741, allocations: 0.5482 MB / 0.9588 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.7412, allocations: 0.6908 MB / 0.9595 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.7412, allocations: 11.94 kB / 0.9595 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.7413, allocations: 28.36 kB / 0.9596 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7413, allocations: 0 / 0.9596 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.7587, allocations: 1.486 MB / 0.961 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.759, allocations: 199.1 kB / 0.9612 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.591, allocations: 0.875 kB / 0.9612 GB, free: 1.555 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat does not exist to compare? outputFormat=mat