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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.7 kB / 16.42 MB, free: 6.457 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.0014/0.0014, allocations: 186.7 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.589/2.589, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7222, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003762/0.726, allocations: 1.636 MB / 1.222 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009514/0.727, allocations: 332.8 kB / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.7272, allocations: 0 / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.503e-05/0.7273, allocations: 11.86 kB / 1.223 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.7274, allocations: 19.81 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.7279, allocations: 79.83 kB / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.7281, allocations: 111.6 kB / 1.223 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.7284, allocations: 31.94 kB / 1.223 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.7285, allocations: 43.8 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.7287, allocations: 47.77 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.7287, allocations: 11.94 kB / 1.223 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.7289, allocations: 40.11 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.7289, allocations: 19.92 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.729, allocations: 47.78 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.7292, allocations: 105.2 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7293, allocations: 4 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7293, allocations: 0 / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7293, allocations: 0 / 1.223 GB, free: 15.8 MB / 0.9512 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.0006514/0.7299, allocations: 403.1 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.73, allocations: 12.62 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.7314, allocations: 160.6 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7316, allocations: 180.2 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.7316, allocations: 12.38 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.7317, allocations: 8.312 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.7323, allocations: 174 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7324, allocations: 192 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.7324, allocations: 7.938 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7324, allocations: 4 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.7333, allocations: 183.8 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.7346, allocations: 476.3 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.7357, allocations: 194.4 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.7361, allocations: 60.8 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.7361, allocations: 7.984 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.7361, allocations: 38.55 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.7361, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001201/0.7373, allocations: 221.3 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.7374, allocations: 51.41 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.7377, allocations: 190.2 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.7377, allocations: 25.7 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.7378, allocations: 115.9 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.7378, allocations: 7.844 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.7379, allocations: 33.59 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.738, allocations: 322.8 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.7385, allocations: 84.77 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.739, allocations: 102.5 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008094/0.7398, allocations: 150.4 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7398, allocations: 7.938 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001026/0.7408, allocations: 217.3 kB / 1.227 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7409, allocations: 8.062 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7409, allocations: 0 / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.7409, allocations: 7.938 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.7412, allocations: 39.94 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7413, allocations: 7.938 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.7417, allocations: 51.88 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7417, allocations: 4 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002265/0.742, allocations: 128.1 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002014/0.7422, allocations: 73.97 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002752/0.7424, allocations: 109.8 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.7425, allocations: 0 / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004567/0.7429, allocations: 141.5 kB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.7429, allocations: 4 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.7429, allocations: 4 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.743, allocations: 0 / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.7431, allocations: 27.91 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7431, allocations: 7.938 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.7434, allocations: 28.03 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.7434, allocations: 4 kB / 1.227 GB, free: 11.48 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.7435, allocations: 176.8 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.7436, allocations: 7.906 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.7436, allocations: 16.23 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7436, allocations: 3.938 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.7437, allocations: 8 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.7437, allocations: 96.98 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.7438, allocations: 0 / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.7441, allocations: 23.97 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.7441, allocations: 4 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000961/0.7451, allocations: 256.7 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008409/0.746, allocations: 334.5 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003708/0.7463, allocations: 63.92 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001903/0.7465, allocations: 146.5 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/0.7465, allocations: 0 / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.7477, allocations: 232.5 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007001/0.7484, allocations: 0.6443 MB / 1.229 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of Templates: time 0.005796/0.7542, allocations: 2.753 MB / 1.232 GB, free: 6.652 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches