Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0009999/0.0009998, allocations: 91.61 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.001243/0.001243, 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.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.445 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.424/2.424, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 16 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7921, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001055/0.7933, allocations: 0.52 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.7934, allocations: 36.64 kB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.7934, allocations: 1.219 kB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.7935, allocations: 3.938 kB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.7936, allocations: 13.27 kB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.105e-05/0.7936, allocations: 10.67 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.7938, allocations: 62.94 kB / 0.9545 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.7939, allocations: 29.61 kB / 0.9545 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.794, allocations: 17.3 kB / 0.9545 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.794, allocations: 16.12 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.7941, allocations: 2.219 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.7941, allocations: 0.9375 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.7941, allocations: 15.67 kB / 0.9546 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.7941, allocations: 35.7 kB / 0.9546 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.7942, allocations: 52.41 kB / 0.9546 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7943, allocations: 5.188 kB / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7943, allocations: 0 / 0.9546 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7943, allocations: 0 / 0.9546 GB, free: 7.535 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.0003716/0.7947, allocations: 358 kB / 0.955 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.7947, allocations: 10.03 kB / 0.955 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.7948, allocations: 41.3 kB / 0.955 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.7948, allocations: 19.92 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.795, allocations: 189.5 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.795, allocations: 2.594 kB / 0.9552 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.7951, allocations: 13.16 kB / 0.9553 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7953, allocations: 90.62 kB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7953, allocations: 0 / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.7953, allocations: 9.031 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.7953, allocations: 1.469 kB / 0.9554 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.7954, allocations: 43.09 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.7959, allocations: 437.9 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.796, allocations: 41.19 kB / 0.9558 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.796, allocations: 19.73 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.7961, allocations: 4 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.7961, allocations: 36.72 kB / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7961, allocations: 0 / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.7963, allocations: 50.77 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.7963, allocations: 78.42 kB / 0.956 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7965, allocations: 159.2 kB / 0.9562 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.7965, allocations: 29.95 kB / 0.9562 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.7965, allocations: 107.8 kB / 0.9563 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.7965, allocations: 9.875 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.7966, allocations: 0 / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.7966, allocations: 325.3 kB / 0.9566 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.7966, allocations: 6.719 kB / 0.9566 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.7967, allocations: 26.95 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.7967, allocations: 11.88 kB / 0.9567 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7967, allocations: 0.875 kB / 0.9567 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.901e-05/0.7968, allocations: 54.67 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7968, allocations: 5.25 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7968, allocations: 1 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7968, allocations: 4.938 kB / 0.9567 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.7969, allocations: 8.609 kB / 0.9567 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7969, allocations: 1.281 kB / 0.9567 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.797, allocations: 2.344 kB / 0.9568 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.797, allocations: 1.5 kB / 0.9568 GB, free: 5.379 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.425e-05/0.797, allocations: 121.6 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.7971, allocations: 8.562 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.7971, allocations: 13.83 kB / 0.9569 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7971, allocations: 5.188 kB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7971, allocations: 0 / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7971, allocations: 1 kB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.7974, allocations: 478.4 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7974, allocations: 0 / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.7975, allocations: 3.781 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7975, allocations: 1.094 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7975, allocations: 0 / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7975, allocations: 1.125 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7975, allocations: 0.9375 kB / 0.9574 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.747e-05/0.7976, allocations: 90.06 kB / 0.9574 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.7976, allocations: 84.05 kB / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.7976, allocations: 1.125 kB / 0.9575 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.141e-05/0.7977, allocations: 5.109 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.7977, allocations: 1.062 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.7977, allocations: 1.125 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.7978, allocations: 126.7 kB / 0.9577 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7978, allocations: 0 / 0.9577 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001957/0.798, allocations: 11.41 kB / 0.9577 GB, free: 4.422 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.0002755/0.7983, allocations: 0.6178 MB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.7983, allocations: 9.562 kB / 0.9583 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7984, allocations: 4.156 kB / 0.9583 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.7984, allocations: 11.94 kB / 0.9583 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.7985, allocations: 9.797 kB / 0.9583 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.7993, allocations: 0.5421 MB / 0.9588 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.7994, allocations: 0.6951 MB / 0.9595 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.7994, allocations: 17.25 kB / 0.9595 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.7995, allocations: 26.75 kB / 0.9596 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7995, allocations: 0 / 0.9596 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.8148, allocations: 1.491 MB / 0.961 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.8151, allocations: 193.6 kB / 0.9612 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.542, allocations: 0 / 0.9612 GB, free: 1.664 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat does not exist to compare? outputFormat=mat