Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001607/0.001607, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9141, allocations: 151.6 MB / 1.167 GB, free: 4.051 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Electrical/Interfaces/PartialPV.mo:8:3-10:67:writable] Warning: Parameter pv.panel.V_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=110) as default value. Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01228/0.9265, allocations: 9.944 MB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1712/1.098, allocations: 152.5 MB / 1.326 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/1.099, allocations: 31.88 kB / 1.326 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/1.102, allocations: 0.7396 MB / 1.327 GB, free: 176 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/1.107, allocations: 0.9476 MB / 1.328 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/1.111, allocations: 1.265 MB / 1.329 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003641/1.114, allocations: 2.676 MB / 1.331 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/1.118, allocations: 2.208 MB / 1.334 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/1.12, allocations: 1.032 MB / 1.335 GB, free: 7.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/1.122, allocations: 1.113 MB / 1.336 GB, free: 6.863 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006864/1.122, allocations: 280 kB / 1.336 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/1.124, allocations: 0.7805 MB / 1.337 GB, free: 5.809 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008618/1.125, allocations: 0.6272 MB / 1.337 GB, free: 5.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/1.127, allocations: 1.151 MB / 1.338 GB, free: 4.023 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/1.132, allocations: 3.384 MB / 1.342 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/1.132, allocations: 3.938 kB / 1.342 GB, free: 0.625 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/1.132, allocations: 0 / 1.342 GB, free: 0.625 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001071/1.132, allocations: 0 / 1.342 GB, free: 0.625 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.006296/1.138, allocations: 2.397 MB / 1.344 GB, free: 14.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.138, allocations: 12.92 kB / 1.344 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006875/1.145, allocations: 0.9152 MB / 1.345 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/1.147, allocations: 1.227 MB / 1.346 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.148, allocations: 131.6 kB / 1.346 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/1.148, allocations: 180 kB / 1.347 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005616/1.154, allocations: 2.333 MB / 1.349 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/1.154, allocations: 3.984 kB / 1.349 GB, free: 9.266 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/1.154, allocations: 75.98 kB / 1.349 GB, free: 9.191 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/1.154, allocations: 83.47 kB / 1.349 GB, free: 9.109 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006832/1.161, allocations: 2.64 MB / 1.352 GB, free: 6.465 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/1.175, allocations: 7.793 MB / 1.359 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/1.18, allocations: 1.751 MB / 1.361 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/1.182, allocations: 0.8328 MB / 1.362 GB, free: 11.74 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/1.183, allocations: 491 kB / 1.362 GB, free: 11.17 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002629/1.185, allocations: 1.074 MB / 1.363 GB, free: 10.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=144): time 5.079e-06/1.185, allocations: 0 / 1.363 GB, free: 10.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=144): time 0.007667/1.193, allocations: 2.505 MB / 1.366 GB, free: 7.531 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/1.193, allocations: 300 kB / 1.366 GB, free: 7.172 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/1.195, allocations: 0.9529 MB / 1.367 GB, free: 6.199 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/1.196, allocations: 53.7 kB / 1.367 GB, free: 6.141 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007565/1.196, allocations: 0.7065 MB / 1.368 GB, free: 5.422 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/1.197, allocations: 477.1 kB / 1.368 GB, free: 4.949 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/1.197, allocations: 291.4 kB / 1.368 GB, free: 4.66 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.198, allocations: 361.8 kB / 1.369 GB, free: 4.301 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/1.2, allocations: 0.7036 MB / 1.369 GB, free: 3.594 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/1.202, allocations: 0.897 MB / 1.37 GB, free: 2.648 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/1.206, allocations: 1.536 MB / 1.372 GB, free: 1.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.206, allocations: 0 / 1.372 GB, free: 1.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00518/1.211, allocations: 1.851 MB / 1.374 GB, free: 15.21 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.211, allocations: 11.94 kB / 1.374 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.211, allocations: 0 / 1.374 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.212, allocations: 40.83 kB / 1.374 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.214, allocations: 375.5 kB / 1.374 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/1.215, allocations: 1.398 MB / 1.375 GB, free: 13.24 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.217, allocations: 216.9 kB / 1.376 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.217, allocations: 71.94 kB / 1.376 GB, free: 12.96 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002613/1.22, allocations: 1.027 MB / 1.377 GB, free: 11.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002202/1.222, allocations: 0.9095 MB / 1.377 GB, free: 10.97 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004136/1.226, allocations: 1.536 MB / 1.379 GB, free: 9.398 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/1.226, allocations: 8 kB / 1.379 GB, free: 9.391 MB / 1.107 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.005021/1.231, allocations: 1.838 MB / 1.381 GB, free: 7.543 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.231, allocations: 7.984 kB / 1.381 GB, free: 7.535 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.231, allocations: 4.188 kB / 1.381 GB, free: 7.531 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.231, allocations: 19.94 kB / 1.381 GB, free: 7.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.233, allocations: 363.5 kB / 1.381 GB, free: 7.156 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.233, allocations: 11.98 kB / 1.381 GB, free: 7.145 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.235, allocations: 198.9 kB / 1.381 GB, free: 6.949 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.235, allocations: 67.89 kB / 1.381 GB, free: 6.883 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pv.HDirTil.incAng.decAng.tNext,$PRE.pv.HDirTil.incAng.decAng.tNext,pv.HDifTil.incAng.decAng.tNext,$PRE.pv.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000556/1.236, allocations: 274.9 kB / 1.382 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/1.236, allocations: 138.3 kB / 1.382 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/1.242, allocations: 2.109 MB / 1.384 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/1.242, allocations: 7.969 kB / 1.384 GB, free: 4.344 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.242, allocations: 4 kB / 1.384 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/1.243, allocations: 446.8 kB / 1.384 GB, free: 3.883 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.244, allocations: 35.88 kB / 1.384 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.246, allocations: 147.8 kB / 1.385 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.246, allocations: 105.2 kB / 1.385 GB, free: 3.598 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006063/1.252, allocations: 2.133 MB / 1.387 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007388/1.259, allocations: 3.161 MB / 1.39 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002192/1.261, allocations: 0.8731 MB / 1.391 GB, free: 13.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00128/1.263, allocations: 0.6631 MB / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of Backend: time 1.433e-06/1.263, allocations: 0 / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008942/1.272, allocations: 2.9 MB / 1.394 GB, free: 10.01 MB / 1.123 GB Notification: Performance of SimCode: time 0.006273/1.278, allocations: 3.2 MB / 1.397 GB, free: 6.773 MB / 1.123 GB Notification: Performance of Templates: time 0.06834/1.346, allocations: 38.62 MB / 1.435 GB, free: 340 kB / 1.154 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches