Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 208.1 kB / 23 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 73.27 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4095, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01682/0.4263, allocations: 11.12 MB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1997/0.626, allocations: 135.6 MB / 1.47 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.6283, allocations: 47.69 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.6307, allocations: 0.8031 MB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.6348, allocations: 1.283 MB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.6385, allocations: 1.682 MB / 1.474 GB, free: 9.844 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.6429, allocations: 3.748 MB / 1.478 GB, free: 6.082 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.6466, allocations: 2.717 MB / 1.48 GB, free: 3.301 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.6486, allocations: 1.55 MB / 1.482 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.6507, allocations: 1.708 MB / 1.484 GB, free: 32 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005321/0.6512, allocations: 408 kB / 1.484 GB, free: 15.63 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.653, allocations: 0.9717 MB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.6539, allocations: 0.9154 MB / 1.486 GB, free: 13.74 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.6553, allocations: 1.346 MB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.6611, allocations: 4.916 MB / 1.492 GB, free: 7.457 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6612, allocations: 0 / 1.492 GB, free: 7.457 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6612, allocations: 4 kB / 1.492 GB, free: 7.453 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.809e-05/0.6612, allocations: 0 / 1.492 GB, free: 7.453 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 700 * Number of variables: 700 Notification: Performance of Generate backend data structure: time 0.007496/0.6687, allocations: 3.316 MB / 1.495 GB, free: 4.082 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6688, allocations: 15.91 kB / 1.495 GB, free: 4.066 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.6837, allocations: 1.813 MB / 1.497 GB, free: 2.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.688, allocations: 1.514 MB / 1.498 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.6882, allocations: 205.4 kB / 1.499 GB, free: 500 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007183/0.6889, allocations: 260 kB / 1.499 GB, free: 240 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/0.6988, allocations: 4.074 MB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.6989, allocations: 4 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.6992, allocations: 112 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.6994, allocations: 133 kB / 1.503 GB, free: 11.69 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.7106, allocations: 4.048 MB / 1.507 GB, free: 7.629 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.7287, allocations: 8.518 MB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00776/0.7364, allocations: 2.758 MB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003567/0.74, allocations: 1.277 MB / 1.519 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7406, allocations: 113.9 kB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004499/0.7451, allocations: 1.939 MB / 1.521 GB, free: 8.793 MB / 1.217 GB Notification: Performance of pre-optimization done (n=217): time 5.18e-06/0.7451, allocations: 0 / 1.521 GB, free: 8.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=218): time 0.01326/0.7584, allocations: 4.825 MB / 1.526 GB, free: 3.961 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.7586, allocations: 261.3 kB / 1.526 GB, free: 3.648 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.7602, allocations: 1.073 MB / 1.527 GB, free: 2.562 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/0.7604, allocations: 69.7 kB / 1.527 GB, free: 2.488 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.7614, allocations: 1.021 MB / 1.528 GB, free: 1.457 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008153/0.7622, allocations: 0.7398 MB / 1.529 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008209/0.7631, allocations: 423.6 kB / 1.53 GB, free: 296 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7632, allocations: 305.1 kB / 1.53 GB, free: 15.99 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/0.7669, allocations: 1.239 MB / 1.531 GB, free: 14.74 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/0.771, allocations: 1.743 MB / 1.533 GB, free: 12.85 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007585/0.7786, allocations: 2.71 MB / 1.535 GB, free: 10.07 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.7786, allocations: 0 / 1.535 GB, free: 10.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008918/0.7875, allocations: 3.128 MB / 1.538 GB, free: 6.93 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.7875, allocations: 8 kB / 1.538 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.7875, allocations: 12.03 kB / 1.538 GB, free: 6.91 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.7876, allocations: 12 kB / 1.538 GB, free: 6.898 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/0.7913, allocations: 0.6046 MB / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.46e-05/0.7913, allocations: 23.88 kB / 1.539 GB, free: 6.27 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/0.7943, allocations: 325.2 kB / 1.539 GB, free: 5.953 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.7945, allocations: 107.9 kB / 1.539 GB, free: 5.848 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004469/0.799, allocations: 1.627 MB / 1.541 GB, free: 4.215 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003964/0.8029, allocations: 1.707 MB / 1.543 GB, free: 2.359 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007412/0.8104, allocations: 2.644 MB / 1.545 GB, free: 15.64 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.905e-06/0.8104, allocations: 0 / 1.545 GB, free: 15.64 MB / 1.248 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.008911/0.8193, allocations: 3.058 MB / 1.548 GB, free: 12.58 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.8193, allocations: 11.94 kB / 1.548 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8193, allocations: 8 kB / 1.548 GB, free: 12.56 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.8193, allocations: 12 kB / 1.548 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/0.8231, allocations: 0.6049 MB / 1.549 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.221e-05/0.8232, allocations: 23.92 kB / 1.549 GB, free: 11.92 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/0.8263, allocations: 310.8 kB / 1.549 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/0.8266, allocations: 103.9 kB / 1.549 GB, free: 11.51 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.incAng.decAng.tNext,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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 267 * 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.0008663/0.8275, allocations: 316.3 kB / 1.55 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006546/0.8282, allocations: 186.8 kB / 1.55 GB, free: 11.01 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.8383, allocations: 3.483 MB / 1.553 GB, free: 7.508 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.8383, allocations: 11.95 kB / 1.553 GB, free: 7.496 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.8383, allocations: 3.938 kB / 1.553 GB, free: 7.492 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.8399, allocations: 0.5083 MB / 1.554 GB, free: 6.98 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004622/0.8404, allocations: 59.88 kB / 1.554 GB, free: 6.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/0.843, allocations: 251.7 kB / 1.554 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.8434, allocations: 165.7 kB / 1.554 GB, free: 6.516 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01025/0.8536, allocations: 3.336 MB / 1.557 GB, free: 3.172 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008625/0.8623, allocations: 3.245 MB / 1.561 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003693/0.866, allocations: 1.312 MB / 1.562 GB, free: 14.6 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001387/0.8673, allocations: 0.7697 MB / 1.563 GB, free: 13.83 MB / 1.264 GB Notification: Performance of Backend: time 2.31e-07/0.8673, allocations: 0 / 1.563 GB, free: 13.83 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01359/0.8809, allocations: 4.001 MB / 1.567 GB, free: 10.1 MB / 1.264 GB Notification: Performance of SimCode: time 0.00895/0.8899, allocations: 4.276 MB / 1.571 GB, free: 5.785 MB / 1.264 GB Notification: Performance of Templates: time 0.8659/1.756, allocations: 63.82 MB / 1.633 GB, free: 268.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.458408842001518]