Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.0008826/0.0008827, allocations: 92.31 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.000909/0.0009091, 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.289 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.365/2.365, allocations: 390.4 MB / 0.6655 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7039, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002051/0.706, allocations: 1.304 MB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.7068, allocations: 293.1 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.7069, allocations: 1.375 kB / 0.9554 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.7069, allocations: 7.938 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.707, allocations: 18.66 kB / 0.9554 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.7074, allocations: 46.83 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.7075, allocations: 97.31 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.7077, allocations: 27.55 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.7078, allocations: 26.23 kB / 0.9556 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.7079, allocations: 39.17 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.7079, allocations: 2.938 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.708, allocations: 25.56 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.708, allocations: 7.219 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.7081, allocations: 39.86 kB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.7082, allocations: 72.86 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.7082, allocations: 0 / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7082, allocations: 3.938 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7082, allocations: 1.062 kB / 0.9558 GB, free: 6.598 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.0004818/0.7087, allocations: 392.1 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7088, allocations: 9.594 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.7088, allocations: 44.88 kB / 0.9562 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.7098, allocations: 141.4 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7099, allocations: 175 kB / 0.9565 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.71, allocations: 7.812 kB / 0.9565 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.71, allocations: 4.094 kB / 0.9565 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.7106, allocations: 167.4 kB / 0.9567 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7106, allocations: 1.156 kB / 0.9567 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.7107, allocations: 0 / 0.9567 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.7107, allocations: 10.3 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.7114, allocations: 179.1 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.7125, allocations: 448.1 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.7131, allocations: 161.9 kB / 0.9575 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.7134, allocations: 87.31 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7135, allocations: 5.688 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.7135, allocations: 30.56 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.7135, allocations: 0 / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.001079/0.7146, allocations: 279.2 kB / 0.9578 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.7146, allocations: 51.41 kB / 0.9579 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.7148, allocations: 164.1 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.7148, allocations: 25.7 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.7149, allocations: 99.78 kB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.7149, allocations: 21.5 kB / 0.9582 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.7149, allocations: 0 / 0.9582 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.715, allocations: 322.5 kB / 0.9585 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.7153, allocations: 81.02 kB / 0.9586 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.7156, allocations: 79.05 kB / 0.9587 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.7159, allocations: 79.88 kB / 0.9587 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7159, allocations: 0 / 0.9587 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007049/0.7166, allocations: 208.6 kB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.7167, allocations: 94.48 kB / 0.959 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7167, allocations: 7.984 kB / 0.959 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7167, allocations: 3.938 kB / 0.959 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.717, allocations: 47.41 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.717, allocations: 1.375 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.7172, allocations: 37.69 kB / 0.9591 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.7172, allocations: 6.734 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.7172, allocations: 5.375 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001913/0.7174, allocations: 72.92 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.7174, allocations: 1.094 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/0.7174, allocations: 0 / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.7175, allocations: 18.98 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7176, allocations: 5.094 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.7176, allocations: 14.91 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.7176, allocations: 5.812 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 9.3e-05/0.7177, allocations: 196.5 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.7178, allocations: 8.531 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.7178, allocations: 10.84 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.7178, allocations: 1.094 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.7178, allocations: 1.938 kB / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7179, allocations: 0 / 0.9594 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.7188, allocations: 0.4977 MB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7188, allocations: 1.094 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.719, allocations: 36.8 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.719, allocations: 1.094 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.719, allocations: 14.11 kB / 0.96 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7191, allocations: 0.8125 kB / 0.96 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7191, allocations: 4.969 kB / 0.96 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.7198, allocations: 307.5 kB / 0.9603 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.7199, allocations: 97.78 kB / 0.9604 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.7199, allocations: 1.5 kB / 0.9604 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.7202, allocations: 33.16 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.7202, allocations: 10.92 kB / 0.9604 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.7202, allocations: 3.062 kB / 0.9604 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.7203, allocations: 122.4 kB / 0.9605 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7203, allocations: 4 kB / 0.9605 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003325/0.7207, allocations: 33.84 kB / 0.9606 GB, free: 2.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0009598/0.7216, allocations: 0.8362 MB / 0.9614 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008291/0.7225, allocations: 214.1 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7225, allocations: 0 / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.7229, allocations: 89.33 kB / 0.9617 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.7232, allocations: 13.03 kB / 0.9617 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7256, allocations: 0.9186 MB / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.7258, allocations: 0.6924 MB / 0.9633 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.7259, allocations: 19.3 kB / 0.9633 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.726, allocations: 32.84 kB / 0.9633 GB, free: 456 kB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.726, allocations: 0 / 0.9633 GB, free: 456 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.7399, allocations: 2.394 MB / 0.9656 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.7401, allocations: 194 kB / 0.9658 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.502, allocations: 1.75 kB / 0.9658 GB, free: 15.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat