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.0009346/0.000935, allocations: 99.08 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.0009603/0.0009604, 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 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.439/2.439, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005575, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.716, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00112/0.7172, allocations: 0.5188 MB / 0.9541 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.7174, allocations: 49.25 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.7175, allocations: 1.344 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.7175, allocations: 3.938 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.7176, allocations: 1.281 kB / 0.9541 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.753e-05/0.7177, allocations: 16.14 kB / 0.9542 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.7178, allocations: 35.31 kB / 0.9542 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.718, allocations: 37.73 kB / 0.9542 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.718, allocations: 13.53 kB / 0.9542 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.7181, allocations: 20.92 kB / 0.9543 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.7181, allocations: 1.375 kB / 0.9543 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.7182, allocations: 1.594 kB / 0.9543 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.7182, allocations: 10.53 kB / 0.9543 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.7182, allocations: 37.47 kB / 0.9543 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.7183, allocations: 52.28 kB / 0.9544 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7183, allocations: 0 / 0.9544 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7183, allocations: 0 / 0.9544 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7184, allocations: 4 kB / 0.9544 GB, free: 7.52 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.000421/0.7188, allocations: 360.2 kB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.7189, allocations: 8.594 kB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.7189, allocations: 53.73 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.719, allocations: 15.33 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.7192, allocations: 181.2 kB / 0.955 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.7192, allocations: 3.906 kB / 0.955 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7193, allocations: 9.5 kB / 0.955 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.7195, allocations: 95.23 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7195, allocations: 5.344 kB / 0.9551 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.7195, allocations: 7.969 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7195, allocations: 2.469 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.7196, allocations: 43.28 kB / 0.9551 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.7202, allocations: 441.4 kB / 0.9555 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.614e-05/0.7203, allocations: 37.03 kB / 0.9556 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.7203, allocations: 1.531 kB / 0.9556 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7204, allocations: 35.88 kB / 0.9556 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.7204, allocations: 4 kB / 0.9556 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002144/0.7206, allocations: 54.56 kB / 0.9557 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7206, allocations: 78.36 kB / 0.9557 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.7208, allocations: 162.9 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7208, allocations: 25.7 kB / 0.9559 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.7209, allocations: 104.8 kB / 0.956 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.7209, allocations: 13 kB / 0.956 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.721, allocations: 256 / 0.956 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.721, allocations: 329.3 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.7211, allocations: 4.125 kB / 0.9564 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.7211, allocations: 17.09 kB / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.7211, allocations: 5.031 kB / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7211, allocations: 0 / 0.9564 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.7213, allocations: 62.91 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.7213, allocations: 11.38 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7213, allocations: 0 / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7213, allocations: 1.344 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.7214, allocations: 5.219 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7214, allocations: 1.438 kB / 0.9565 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.7215, allocations: 1.5 kB / 0.9565 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.7215, allocations: 1.375 kB / 0.9565 GB, free: 5.383 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 8.01e-05/0.7216, allocations: 118.2 kB / 0.9566 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.7217, allocations: 10.83 kB / 0.9566 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.7217, allocations: 14.81 kB / 0.9566 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7217, allocations: 5.531 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7217, allocations: 0 / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7217, allocations: 1.094 kB / 0.9566 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.7221, allocations: 470.1 kB / 0.957 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.7221, allocations: 3.938 kB / 0.957 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.7222, allocations: 7.312 kB / 0.9571 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7222, allocations: 5.062 kB / 0.9571 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7222, allocations: 5.422 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7222, allocations: 0 / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7222, allocations: 1.469 kB / 0.9571 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.7223, allocations: 83.27 kB / 0.9571 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.7224, allocations: 92.41 kB / 0.9572 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.7224, allocations: 5.062 kB / 0.9572 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.7225, allocations: 9.375 kB / 0.9572 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.7225, allocations: 5.422 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.7225, allocations: 3.938 kB / 0.9573 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001076/0.7226, allocations: 119.4 kB / 0.9574 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7227, allocations: 0 / 0.9574 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003169/0.723, allocations: 11.03 kB / 0.9574 GB, free: 4.402 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.0003539/0.7233, allocations: 0.6909 MB / 0.9581 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.7235, allocations: 17.44 kB / 0.9581 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7235, allocations: 0 / 0.9581 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.7235, allocations: 16.55 kB / 0.9581 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.7237, allocations: 7.328 kB / 0.9581 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.7247, allocations: 0.6907 MB / 0.9588 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.7248, allocations: 0.6992 MB / 0.9595 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.7249, allocations: 14.47 kB / 0.9595 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.7249, allocations: 18.75 kB / 0.9595 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.725, allocations: 4 kB / 0.9595 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.7423, allocations: 1.469 MB / 0.9609 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.7426, allocations: 190.8 kB / 0.9611 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.463, allocations: 0 / 0.9611 GB, free: 1.418 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