Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_latest_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_latest_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.001507/0.001507, allocations: 112.3 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.00178/0.00178, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.11 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9362, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01482/0.9511, allocations: 9.901 MB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1658/1.117, allocations: 152.5 MB / 1.367 GB, free: 10.61 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.119, allocations: 31.81 kB / 1.367 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/1.121, allocations: 0.73 MB / 1.368 GB, free: 9.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003949/1.125, allocations: 0.9505 MB / 1.369 GB, free: 8.891 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/1.129, allocations: 1.267 MB / 1.37 GB, free: 7.629 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003777/1.133, allocations: 2.68 MB / 1.373 GB, free: 4.941 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/1.136, allocations: 2.182 MB / 1.375 GB, free: 2.711 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/1.137, allocations: 1.036 MB / 1.376 GB, free: 1.672 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.138, allocations: 1.117 MB / 1.377 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/1.139, allocations: 279.9 kB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/1.14, allocations: 0.7805 MB / 1.378 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/1.141, allocations: 0.6311 MB / 1.378 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.142, allocations: 1.151 MB / 1.38 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/1.146, allocations: 3.388 MB / 1.383 GB, free: 10.31 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.146, allocations: 0 / 1.383 GB, free: 10.31 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.013e-06/1.146, allocations: 3.938 kB / 1.383 GB, free: 10.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.146e-05/1.146, allocations: 4 kB / 1.383 GB, free: 10.3 MB / 1.107 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.00467/1.151, allocations: 2.386 MB / 1.385 GB, free: 7.855 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.151, allocations: 12.03 kB / 1.385 GB, free: 7.844 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006744/1.157, allocations: 0.9191 MB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/1.159, allocations: 1.215 MB / 1.387 GB, free: 5.664 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.16, allocations: 139.6 kB / 1.387 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/1.16, allocations: 183.9 kB / 1.388 GB, free: 5.348 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004918/1.165, allocations: 2.327 MB / 1.39 GB, free: 2.957 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/1.165, allocations: 0 / 1.39 GB, free: 2.957 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/1.165, allocations: 75.98 kB / 1.39 GB, free: 2.883 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/1.165, allocations: 83.47 kB / 1.39 GB, free: 2.801 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0063/1.171, allocations: 2.644 MB / 1.393 GB, free: 156 kB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/1.184, allocations: 7.796 MB / 1.4 GB, free: 8.012 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/1.189, allocations: 1.752 MB / 1.402 GB, free: 6.258 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/1.191, allocations: 0.825 MB / 1.403 GB, free: 5.426 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/1.191, allocations: 495 kB / 1.403 GB, free: 4.852 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002374/1.194, allocations: 1.078 MB / 1.404 GB, free: 3.746 MB / 1.123 GB Notification: Performance of pre-optimization done (n=144): time 3.306e-06/1.194, allocations: 0 / 1.404 GB, free: 3.746 MB / 1.123 GB Notification: Performance of matching and sorting (n=144): time 0.006578/1.2, allocations: 2.498 MB / 1.407 GB, free: 1.219 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.2, allocations: 308 kB / 1.407 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.202, allocations: 0.9568 MB / 1.408 GB, free: 15.88 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/1.202, allocations: 53.7 kB / 1.408 GB, free: 15.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/1.202, allocations: 0.7065 MB / 1.409 GB, free: 15.1 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.203, allocations: 469.2 kB / 1.409 GB, free: 14.63 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/1.203, allocations: 291.3 kB / 1.409 GB, free: 14.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.203, allocations: 365.8 kB / 1.41 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/1.205, allocations: 0.7075 MB / 1.41 GB, free: 13.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/1.207, allocations: 0.897 MB / 1.411 GB, free: 12.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/1.211, allocations: 1.532 MB / 1.413 GB, free: 10.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.211, allocations: 4 kB / 1.413 GB, free: 10.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004637/1.216, allocations: 1.851 MB / 1.415 GB, free: 8.879 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.216, allocations: 12.19 kB / 1.415 GB, free: 8.867 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.216, allocations: 7.984 kB / 1.415 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/1.216, allocations: 36.78 kB / 1.415 GB, free: 8.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.218, allocations: 367.4 kB / 1.415 GB, free: 8.461 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/1.219, allocations: 1.386 MB / 1.416 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.221, allocations: 218.5 kB / 1.417 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.221, allocations: 71.89 kB / 1.417 GB, free: 6.648 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002397/1.223, allocations: 1.023 MB / 1.418 GB, free: 5.621 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002013/1.225, allocations: 0.9057 MB / 1.419 GB, free: 4.668 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003755/1.229, allocations: 1.54 MB / 1.42 GB, free: 3.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/1.229, allocations: 4 kB / 1.42 GB, free: 3.086 MB / 1.139 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.004546/1.234, allocations: 1.85 MB / 1.422 GB, free: 1.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.234, allocations: 4 kB / 1.422 GB, free: 1.223 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.234, allocations: 4 kB / 1.422 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.234, allocations: 12 kB / 1.422 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.236, allocations: 367.7 kB / 1.422 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.236, allocations: 15.94 kB / 1.422 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.237, allocations: 201 kB / 1.422 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.238, allocations: 67.94 kB / 1.422 GB, free: 0.5703 MB / 1.139 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.0004383/1.238, allocations: 270.2 kB / 1.423 GB, free: 308 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/1.238, allocations: 138.3 kB / 1.423 GB, free: 168 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/1.244, allocations: 2.113 MB / 1.425 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/1.244, allocations: 11.97 kB / 1.425 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.244, allocations: 0 / 1.425 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/1.244, allocations: 442.8 kB / 1.425 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.245, allocations: 39.88 kB / 1.425 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.246, allocations: 147.8 kB / 1.426 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.246, allocations: 105.2 kB / 1.426 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005442/1.252, allocations: 2.136 MB / 1.428 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006881/1.259, allocations: 3.149 MB / 1.431 GB, free: 7.969 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001981/1.261, allocations: 0.8809 MB / 1.432 GB, free: 7.09 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001068/1.262, allocations: 0.6592 MB / 1.432 GB, free: 6.422 MB / 1.154 GB Notification: Performance of Backend: time 3.41e-07/1.262, allocations: 3.938 kB / 1.432 GB, free: 6.418 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008412/1.27, allocations: 2.912 MB / 1.435 GB, free: 3.719 MB / 1.154 GB Notification: Performance of SimCode: time 0.005785/1.276, allocations: 3.172 MB / 1.438 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of Templates: time 0.06098/1.337, allocations: 39.45 MB / 1.477 GB, free: 9.309 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches