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.008618/0.008618, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001826/0.001826, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.05 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2983, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002918/0.3013, allocations: 1.621 MB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.3021, allocations: 335.5 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.3022, allocations: 4 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.3022, allocations: 19.8 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.3023, allocations: 11.86 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3027, allocations: 83.77 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.3029, allocations: 111.5 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.303, allocations: 35.88 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.83e-05/0.3031, allocations: 39.91 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.3032, allocations: 47.78 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3032, allocations: 8 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3034, allocations: 31.97 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.3034, allocations: 23.91 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.3034, allocations: 43.8 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.3036, allocations: 111.5 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3036, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3036, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.3037, allocations: 4 kB / 1.21 GB, free: 7.141 MB / 0.9669 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.0005698/0.3042, allocations: 407.1 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3043, allocations: 8.625 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.3057, allocations: 168.6 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3058, allocations: 176.2 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3059, allocations: 12.31 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3059, allocations: 4.375 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.3065, allocations: 174.1 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3066, allocations: 4.125 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.3066, allocations: 3.938 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3066, allocations: 0 / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.3075, allocations: 187.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3087, allocations: 472.3 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3098, allocations: 186.4 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.3101, allocations: 68.84 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3102, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3102, allocations: 38.5 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3102, allocations: 0 / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.00112/0.3113, allocations: 221.3 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3114, allocations: 55.41 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3116, allocations: 194.2 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3116, allocations: 25.7 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.3117, allocations: 107.9 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3118, allocations: 11.91 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.3118, allocations: 29.69 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.312, allocations: 318.8 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.3124, allocations: 84.78 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.3128, allocations: 110.4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007218/0.3136, allocations: 158.4 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3136, allocations: 0 / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009213/0.3145, allocations: 229.3 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3145, allocations: 4 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3145, allocations: 0 / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3146, allocations: 3.938 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3149, allocations: 47.88 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3149, allocations: 4 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3153, allocations: 35.89 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3153, allocations: 7.984 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002161/0.3155, allocations: 124.1 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001702/0.3157, allocations: 78.11 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002552/0.3159, allocations: 109.8 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.316, allocations: 0 / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004128/0.3164, allocations: 137.5 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3164, allocations: 9.562 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.3164, allocations: 0 / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.3164, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3166, allocations: 27.91 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3166, allocations: 3.938 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.3168, allocations: 36 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3168, allocations: 4 kB / 1.214 GB, free: 2.836 MB / 0.9669 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 9.93e-05/0.317, allocations: 184.1 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.317, allocations: 8.094 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.3171, allocations: 20.17 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3171, allocations: 7.984 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3171, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3171, allocations: 0 / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3173, allocations: 201.6 kB / 1.214 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3173, allocations: 0 / 1.214 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.3176, allocations: 35.94 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3176, allocations: 0 / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3176, allocations: 11.94 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3176, allocations: 0 / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3176, allocations: 3.938 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.3183, allocations: 255.2 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.3184, allocations: 101 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3185, allocations: 7.938 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3187, allocations: 24.03 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3188, allocations: 11.98 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3188, allocations: 0 / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001923/0.319, allocations: 149.4 kB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.319, allocations: 0 / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003541/0.3194, allocations: 32 kB / 1.215 GB, free: 1.711 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.3195, allocations: 102 kB / 1.215 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009651/0.3205, allocations: 211.7 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3205, allocations: 0.5625 kB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.3208, allocations: 63.92 kB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3211, allocations: 11.91 kB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/0.322, allocations: 254.9 kB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3223, allocations: 0.6963 MB / 1.216 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.3225, allocations: 20 kB / 1.216 GB, free: 312 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.3225, allocations: 19.41 kB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3225, allocations: 0 / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of Templates: time 0.004391/0.3269, allocations: 1.704 MB / 1.218 GB, free: 14.59 MB / 0.9825 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/jenkins/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