Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.001131/0.001137, allocations: 109.4 kB / 16.42 MB, free: 6.5 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.001145/0.001145, allocations: 187.9 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.88 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9968, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.009993/1.007, allocations: 8.427 MB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2261/1.233, allocations: 152.4 MB / 1.246 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/1.236, allocations: 33.72 kB / 1.246 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/1.239, allocations: 0.6901 MB / 1.246 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/1.244, allocations: 0.8375 MB / 1.247 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005668/1.249, allocations: 1.248 MB / 1.248 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006023/1.255, allocations: 2.436 MB / 1.251 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005591/1.261, allocations: 2.242 MB / 1.253 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/1.264, allocations: 1.001 MB / 1.254 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/1.267, allocations: 1.078 MB / 1.255 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.268, allocations: 276 kB / 1.255 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/1.271, allocations: 0.7922 MB / 1.256 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/1.272, allocations: 0.6232 MB / 1.257 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003405/1.276, allocations: 1.096 MB / 1.258 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007352/1.283, allocations: 3.326 MB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.283, allocations: 4 kB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.283, allocations: 0 / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001192/1.283, allocations: 0 / 1.261 GB, free: 13.35 MB / 0.9981 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.007703/1.291, allocations: 2.355 MB / 1.263 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.291, allocations: 12.02 kB / 1.263 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006946/1.298, allocations: 0.9152 MB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/1.301, allocations: 1.223 MB / 1.265 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.301, allocations: 135.6 kB / 1.265 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005503/1.301, allocations: 172 kB / 1.266 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00649/1.308, allocations: 2.337 MB / 1.268 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/1.308, allocations: 0 / 1.268 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/1.308, allocations: 72 kB / 1.268 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/1.308, allocations: 91.45 kB / 1.268 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007142/1.315, allocations: 2.636 MB / 1.271 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/1.33, allocations: 7.31 MB / 1.278 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004801/1.334, allocations: 1.752 MB / 1.279 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/1.337, allocations: 0.8289 MB / 1.28 GB, free: 9.109 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/1.337, allocations: 495 kB / 1.281 GB, free: 8.535 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/1.34, allocations: 1.082 MB / 1.282 GB, free: 7.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=144): time 4.919e-06/1.34, allocations: 0 / 1.282 GB, free: 7.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=144): time 0.007156/1.347, allocations: 2.502 MB / 1.284 GB, free: 4.898 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002734/1.347, allocations: 304 kB / 1.285 GB, free: 4.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.349, allocations: 0.9606 MB / 1.285 GB, free: 3.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.349, allocations: 57.7 kB / 1.286 GB, free: 3.492 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/1.35, allocations: 0.7026 MB / 1.286 GB, free: 2.777 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/1.351, allocations: 473.1 kB / 1.287 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005515/1.351, allocations: 291.3 kB / 1.287 GB, free: 2.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.351, allocations: 357.9 kB / 1.287 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.353, allocations: 0.7035 MB / 1.288 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/1.356, allocations: 0.9048 MB / 1.289 GB, free: 0 / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/1.36, allocations: 1.536 MB / 1.29 GB, free: 14.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.36, allocations: 0 / 1.29 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005107/1.365, allocations: 1.859 MB / 1.292 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.365, allocations: 4 kB / 1.292 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.365, allocations: 4 kB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/1.365, allocations: 36.97 kB / 1.292 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.367, allocations: 371.4 kB / 1.293 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/1.369, allocations: 1.382 MB / 1.294 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.371, allocations: 218.6 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.371, allocations: 67.94 kB / 1.294 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002888/1.374, allocations: 1.031 MB / 1.295 GB, free: 9.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/1.376, allocations: 0.9094 MB / 1.296 GB, free: 8.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004155/1.38, allocations: 1.537 MB / 1.298 GB, free: 6.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/1.38, allocations: 0 / 1.298 GB, free: 6.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.004997/1.385, allocations: 1.845 MB / 1.299 GB, free: 4.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.385, allocations: 8 kB / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.385, allocations: 4 kB / 1.299 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.385, allocations: 8 kB / 1.299 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.387, allocations: 371.6 kB / 1.3 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/1.387, allocations: 15.94 kB / 1.3 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.389, allocations: 205.5 kB / 1.3 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.39, allocations: 71.94 kB / 1.3 GB, free: 4.238 MB / 1.029 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.0004955/1.39, allocations: 271.1 kB / 1.3 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/1.39, allocations: 130.4 kB / 1.3 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/1.396, allocations: 2.125 MB / 1.303 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.396, allocations: 7.969 kB / 1.303 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.396, allocations: 0 / 1.303 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/1.397, allocations: 434.9 kB / 1.303 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/1.398, allocations: 39.94 kB / 1.303 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.399, allocations: 139.8 kB / 1.303 GB, free: 1.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.399, allocations: 109.2 kB / 1.303 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005948/1.405, allocations: 2.129 MB / 1.305 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007359/1.413, allocations: 3.165 MB / 1.308 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00219/1.415, allocations: 0.877 MB / 1.309 GB, free: 10.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001264/1.416, allocations: 0.6553 MB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of Backend: time 1.303e-06/1.416, allocations: 4 kB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.008635/1.425, allocations: 2.897 MB / 1.313 GB, free: 7.406 MB / 1.045 GB Notification: Performance of SimCode: time 0.006088/1.431, allocations: 3.167 MB / 1.316 GB, free: 4.207 MB / 1.045 GB Notification: Performance of Templates: time 0.06669/1.498, allocations: 37.78 MB / 1.353 GB, free: 14.66 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches