Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001101/0.001101, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.002883, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002594, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8873/0.8873, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08667/0.974, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.309/2.309, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2368/2.546, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.892e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006749/0.006768, allocations: 7.891 MB / 0.8266 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006901/0.01367, allocations: 6.005 MB / 0.8325 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006333/0.0143, allocations: 83.25 kB / 0.8326 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.01499, allocations: 397 kB / 0.8329 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.01705, allocations: 1.532 MB / 0.8344 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.01779, allocations: 0.5575 MB / 0.835 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.01974, allocations: 2.516 MB / 0.8374 GB, free: 15.48 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009168/0.02065, allocations: 1.133 MB / 0.8386 GB, free: 14.29 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.022, allocations: 1.714 MB / 0.8402 GB, free: 12.57 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.02284, allocations: 0.9427 MB / 0.8411 GB, free: 11.63 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.02297, allocations: 132 kB / 0.8413 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.02341, allocations: 303.5 kB / 0.8416 GB, free: 11.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.02373, allocations: 0.5415 MB / 0.8421 GB, free: 10.66 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000658/0.02439, allocations: 0.5029 MB / 0.8426 GB, free: 10.16 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.02539, allocations: 1.331 MB / 0.8439 GB, free: 8.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.0254, allocations: 0 / 0.8439 GB, free: 8.82 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.152e-06/0.0254, allocations: 0 / 0.8439 GB, free: 8.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.02542, allocations: 0 / 0.8439 GB, free: 8.82 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001728/0.02715, allocations: 2.216 MB / 0.846 GB, free: 6.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.02718, allocations: 12.03 kB / 0.8461 GB, free: 6.559 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.02983, allocations: 0.8638 MB / 0.8469 GB, free: 5.676 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.03086, allocations: 1.037 MB / 0.8479 GB, free: 4.586 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.03091, allocations: 98.62 kB / 0.848 GB, free: 4.488 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.03105, allocations: 124.3 kB / 0.8481 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.03278, allocations: 1.539 MB / 0.8496 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.0328, allocations: 11.88 kB / 0.8496 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.03289, allocations: 55.98 kB / 0.8497 GB, free: 2.562 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.03304, allocations: 106.2 kB / 0.8498 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.03367, allocations: 0.5146 MB / 0.8503 GB, free: 1.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.03779, allocations: 5.313 MB / 0.8555 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.03855, allocations: 407 kB / 0.8559 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.03875, allocations: 164.5 kB / 0.856 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.03878, allocations: 8.5 kB / 0.856 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.0388, allocations: 39.06 kB / 0.8561 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.03881, allocations: 0 / 0.8561 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.003594/0.0424, allocations: 1.891 MB / 0.8579 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.04243, allocations: 59.84 kB / 0.858 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.04292, allocations: 0.8434 MB / 0.8588 GB, free: 9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.04297, allocations: 33.7 kB / 0.8588 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.04321, allocations: 0.6033 MB / 0.8594 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.04333, allocations: 202.3 kB / 0.8596 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.04351, allocations: 146.5 kB / 0.8598 GB, free: 8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.04358, allocations: 333.9 kB / 0.8601 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.04377, allocations: 149.9 kB / 0.8602 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.04405, allocations: 380.9 kB / 0.8606 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.04457, allocations: 0.592 MB / 0.8612 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.04457, allocations: 4 kB / 0.8612 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009984/0.04557, allocations: 0.7935 MB / 0.8619 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.04559, allocations: 13.34 kB / 0.862 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.0456, allocations: 11.98 kB / 0.862 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/0.04636, allocations: 350.3 kB / 0.8623 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.04692, allocations: 211.7 kB / 0.8625 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.05012, allocations: 5.435 MB / 0.8678 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.05054, allocations: 43.98 kB / 0.8678 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.05059, allocations: 35.95 kB / 0.8679 GB, free: 15.05 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * 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): 4 systems {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.05081, allocations: 164.4 kB / 0.868 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.05093, allocations: 95.83 kB / 0.8681 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.05194, allocations: 0.7462 MB / 0.8689 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.05194, allocations: 4 kB / 0.8689 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.05195, allocations: 4 kB / 0.8689 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.05195, allocations: 3.984 kB / 0.8689 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.05377, allocations: 1.411 MB / 0.8702 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.05377, allocations: 4 kB / 0.8703 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.0542, allocations: 135.8 kB / 0.8704 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.05442, allocations: 203 kB / 0.8706 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.05512, allocations: 338.9 kB / 0.8709 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.05517, allocations: 19.97 kB / 0.8709 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.05814, allocations: 5.451 MB / 0.8762 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.05815, allocations: 11.88 kB / 0.8763 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.05906, allocations: 0.7828 MB / 0.877 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.05915, allocations: 12 kB / 0.877 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.05964, allocations: 35.98 kB / 0.8771 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.05989, allocations: 48.34 kB / 0.8771 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.05994, allocations: 23.95 kB / 0.8771 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002898/0.06023, allocations: 424.6 kB / 0.8775 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.06023, allocations: 4 kB / 0.8775 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00068/0.06091, allocations: 348 kB / 0.8779 GB, free: 4.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.06108, allocations: 100.3 kB / 0.878 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.06214, allocations: 1.086 MB / 0.879 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/0.06216, allocations: 16.97 kB / 0.879 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.06287, allocations: 0.8593 MB / 0.8799 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.06515, allocations: 4.684 MB / 0.8845 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.07236, allocations: 2.316 MB / 0.8867 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.0726, allocations: 336.5 kB / 0.887 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006447/0.07325, allocations: 277.8 kB / 0.8873 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/0.07394, allocations: 395 kB / 0.8877 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/0.07394, allocations: 0 / 0.8877 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of Templates: time 0.02797/0.1019, allocations: 27.44 MB / 0.9145 GB, free: 14.18 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565160822123289]