Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.529/2.529, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 187.2 kB / 0.4902 GB, free: 2.281 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 223.2 MB / 0.7992 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 100.2 kB / 0.9396 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.000388, allocations: 9.156 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2966, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/0.505, allocations: 151.1 MB / 1.377 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5053, allocations: 83.94 kB / 1.377 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.5153, allocations: 3.398 MB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5154, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.5154, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 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.0005491/0.516, allocations: 399 kB / 1.381 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.516, allocations: 8.562 kB / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.5172, allocations: 135.7 kB / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.5174, allocations: 174.9 kB / 1.381 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.5174, allocations: 16 kB / 1.381 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.5175, allocations: 4 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.5182, allocations: 186.4 kB / 1.381 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5182, allocations: 0 / 1.381 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5182, allocations: 8 kB / 1.381 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5182, allocations: 0 / 1.381 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009477/0.5192, allocations: 207.8 kB / 1.381 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.5206, allocations: 492.1 kB / 1.382 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5218, allocations: 210.4 kB / 1.382 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.5219, allocations: 12.14 kB / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5219, allocations: 34.5 kB / 1.382 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5219, allocations: 0 / 1.382 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.001348/0.5232, allocations: 261.4 kB / 1.382 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.5233, allocations: 51.41 kB / 1.382 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.5236, allocations: 168.5 kB / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5236, allocations: 33.64 kB / 1.382 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.5237, allocations: 111.9 kB / 1.383 GB, free: 8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.5237, allocations: 11.89 kB / 1.383 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5237, allocations: 4 kB / 1.383 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5238, allocations: 318.8 kB / 1.383 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.5243, allocations: 91.91 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.5248, allocations: 118.4 kB / 1.383 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.5253, allocations: 87.92 kB / 1.383 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5253, allocations: 0 / 1.383 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001068/0.5264, allocations: 241.4 kB / 1.383 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5265, allocations: 271 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5265, allocations: 4 kB / 1.384 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5265, allocations: 0 / 1.384 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.5269, allocations: 51.94 kB / 1.384 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.527, allocations: 7.922 kB / 1.384 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.5274, allocations: 51.8 kB / 1.384 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.5275, allocations: 4 kB / 1.384 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5275, allocations: 8.922 kB / 1.384 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003821/0.5279, allocations: 99.94 kB / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5279, allocations: 3.984 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.5279, allocations: 0 / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.528, allocations: 27.92 kB / 1.384 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.5281, allocations: 0 / 1.384 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5283, allocations: 27.88 kB / 1.384 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5283, allocations: 8 kB / 1.384 GB, free: 6.547 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001318/0.5284, allocations: 193.1 kB / 1.384 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.5285, allocations: 7.906 kB / 1.384 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.5285, allocations: 12.23 kB / 1.384 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5285, allocations: 0 / 1.384 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5285, allocations: 4.125 kB / 1.384 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.5285, allocations: 0 / 1.384 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.5288, allocations: 217.5 kB / 1.384 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5288, allocations: 0 / 1.384 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.5291, allocations: 35.95 kB / 1.384 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5291, allocations: 3.938 kB / 1.384 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5291, allocations: 3.984 kB / 1.384 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5291, allocations: 7.938 kB / 1.384 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5291, allocations: 0 / 1.384 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.53, allocations: 283.3 kB / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.5301, allocations: 100.9 kB / 1.385 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.5301, allocations: 0 / 1.385 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.5304, allocations: 35.95 kB / 1.385 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.5305, allocations: 4 kB / 1.385 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5305, allocations: 3.984 kB / 1.385 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001875/0.5307, allocations: 144.7 kB / 1.385 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5307, allocations: 4 kB / 1.385 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003402/0.5311, allocations: 40 kB / 1.385 GB, free: 5.371 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.000145/0.5312, allocations: 97.88 kB / 1.385 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.5323, allocations: 239.8 kB / 1.385 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5323, allocations: 0 / 1.385 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.5326, allocations: 76.22 kB / 1.385 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.5329, allocations: 12.64 kB / 1.385 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.5339, allocations: 287 kB / 1.386 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.5342, allocations: 0.6965 MB / 1.386 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.5344, allocations: 27.92 kB / 1.386 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.5345, allocations: 27.41 kB / 1.386 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.5345, allocations: 0 / 1.386 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of Templates: time 0.004279/0.5388, allocations: 1.528 MB / 1.388 GB, free: 2.336 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches