Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.002017/0.002017, allocations: 78.73 kB / 19.18 MB, free: 2.516 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.002437/0.002437, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.619/1.619, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.875/2.875, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.106e-05, allocations: 6.219 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004873/0.004904, allocations: 3.033 MB / 0.9844 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.008252, allocations: 1.869 MB / 0.9862 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.008377, allocations: 7.938 kB / 0.9862 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.009397, allocations: 282.8 kB / 0.9865 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.00988, allocations: 206.8 kB / 0.9867 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.01055, allocations: 266 kB / 0.9869 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.01097, allocations: 338.7 kB / 0.9872 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.01128, allocations: 141.1 kB / 0.9874 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.01157, allocations: 187.5 kB / 0.9876 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.01187, allocations: 139.6 kB / 0.9877 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.01191, allocations: 20 kB / 0.9877 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006442/0.01255, allocations: 379.1 kB / 0.9881 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.01267, allocations: 91.72 kB / 0.9882 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.01279, allocations: 87.77 kB / 0.9882 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.01357, allocations: 0.5258 MB / 0.9888 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01358, allocations: 0 / 0.9888 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01358, allocations: 0 / 0.9888 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.01359, allocations: 0 / 0.9888 GB, free: 3.371 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009592/0.01455, allocations: 0.501 MB / 0.9892 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.01459, allocations: 8.031 kB / 0.9893 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.01543, allocations: 104.7 kB / 0.9894 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.01578, allocations: 205.4 kB / 0.9895 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.0158, allocations: 20.8 kB / 0.9896 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.01584, allocations: 16.38 kB / 0.9896 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.01647, allocations: 405 kB / 0.99 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01648, allocations: 4.188 kB / 0.99 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.01651, allocations: 8.375 kB / 0.99 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.01656, allocations: 28.42 kB / 0.99 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.01707, allocations: 297.8 kB / 0.9903 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.01915, allocations: 1.23 MB / 0.9915 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.01964, allocations: 245 kB / 0.9917 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.0198, allocations: 97.67 kB / 0.9918 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.5e-05/0.01989, allocations: 23.97 kB / 0.9918 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.01994, allocations: 30.56 kB / 0.9919 GB, free: 16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.01994, allocations: 0 / 0.9919 GB, free: 16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002636/0.02258, allocations: 0.8903 MB / 0.9927 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.02264, allocations: 85.14 kB / 0.9928 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.02288, allocations: 209.8 kB / 0.993 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.02292, allocations: 33.7 kB / 0.9931 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.02305, allocations: 176.4 kB / 0.9932 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.02312, allocations: 79.27 kB / 0.9933 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.02323, allocations: 69.64 kB / 0.9934 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.02339, allocations: 330.8 kB / 0.9937 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.02361, allocations: 135.8 kB / 0.9938 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.02391, allocations: 206.3 kB / 0.994 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.02442, allocations: 371.7 kB / 0.9944 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02442, allocations: 0 / 0.9944 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009555/0.02537, allocations: 0.5065 MB / 0.9949 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.02539, allocations: 8 kB / 0.9949 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.0254, allocations: 3.938 kB / 0.9949 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.02598, allocations: 151.5 kB / 0.995 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.02624, allocations: 67.91 kB / 0.9951 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.02973, allocations: 3.918 MB / 0.9989 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.02995, allocations: 20.02 kB / 0.9989 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.02997, allocations: 12 kB / 0.9989 GB, free: 8.344 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.0302, allocations: 166.6 kB / 0.9991 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.03027, allocations: 19.86 kB / 0.9991 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.03129, allocations: 482.7 kB / 0.9996 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.03129, allocations: 0 / 0.9996 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.03129, allocations: 4 kB / 0.9996 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.0313, allocations: 3.984 kB / 0.9996 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.03295, allocations: 0.8903 MB / 1 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.03295, allocations: 3.984 kB / 1 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.03309, allocations: 39.92 kB / 1 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.03353, allocations: 131.3 kB / 1.001 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.03355, allocations: 8.25 kB / 1.001 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.03698, allocations: 3.907 MB / 1.004 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.03699, allocations: 4 kB / 1.004 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000907/0.03789, allocations: 0.619 MB / 1.005 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.038, allocations: 47.84 kB / 1.005 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.03804, allocations: 11.98 kB / 1.005 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.03826, allocations: 15.98 kB / 1.005 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.03832, allocations: 27.81 kB / 1.005 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.03834, allocations: 15.94 kB / 1.005 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001684/0.03851, allocations: 159.4 kB / 1.005 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7e-08/0.03851, allocations: 0 / 1.005 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005385/0.03905, allocations: 95.88 kB / 1.005 GB, free: 1.301 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/0.03931, allocations: 147 kB / 1.006 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000965/0.04028, allocations: 0.5558 MB / 1.006 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.04028, allocations: 0 / 1.006 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.04089, allocations: 402 kB / 1.006 GB, free: 148 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.0414, allocations: 43.91 kB / 1.007 GB, free: 104 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.04251, allocations: 0.6059 MB / 1.007 GB, free: 15.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.04271, allocations: 181 kB / 1.007 GB, free: 15.25 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.04286, allocations: 62.23 kB / 1.007 GB, free: 15.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.04291, allocations: 20.5 kB / 1.007 GB, free: 15.17 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.04291, allocations: 0 / 1.007 GB, free: 15.17 MB / 0.92 GB Notification: Performance of Templates: time 0.009236/0.05215, allocations: 4.168 MB / 1.011 GB, free: 11.06 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 8.41760341450572]