Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009609/0.0009609, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.00102/0.00102, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9853/0.9853, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.222/2.222, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.416e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01143/0.01145, allocations: 4.727 MB / 0.8432 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005636/0.01709, allocations: 1.73 MB / 0.8449 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.01771, allocations: 39.62 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.01845, allocations: 202.5 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005999/0.01905, allocations: 457 kB / 0.8456 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.0196, allocations: 391.1 kB / 0.8459 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008279/0.02043, allocations: 1.275 MB / 0.8472 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.021, allocations: 0.5743 MB / 0.8477 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.02161, allocations: 0.6625 MB / 0.8484 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.02212, allocations: 482.7 kB / 0.8488 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.02219, allocations: 68 kB / 0.8489 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.0224, allocations: 143.7 kB / 0.849 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.0226, allocations: 319.1 kB / 0.8494 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.02282, allocations: 315.2 kB / 0.8497 GB, free: 2.816 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.0235, allocations: 0.7357 MB / 0.8504 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.02351, allocations: 0 / 0.8504 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.353e-06/0.02351, allocations: 0 / 0.8504 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.02352, allocations: 0 / 0.8504 GB, free: 2.078 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0009835/0.02451, allocations: 1.024 MB / 0.8514 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.02454, allocations: 8.625 kB / 0.8514 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.02523, allocations: 272.3 kB / 0.8516 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.02573, allocations: 499 kB / 0.8521 GB, free: 240 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.02576, allocations: 49.69 kB / 0.8522 GB, free: 192 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.02584, allocations: 72.36 kB / 0.8522 GB, free: 120 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.02651, allocations: 0.9562 MB / 0.8532 GB, free: 14.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.02653, allocations: 4.172 kB / 0.8532 GB, free: 14.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.02657, allocations: 32.36 kB / 0.8532 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.95e-05/0.02666, allocations: 85.2 kB / 0.8533 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.02695, allocations: 268.5 kB / 0.8535 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.02931, allocations: 3.926 MB / 0.8574 GB, free: 10.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.02968, allocations: 288.5 kB / 0.8576 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.02979, allocations: 94.33 kB / 0.8577 GB, free: 10.15 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.02982, allocations: 12.44 kB / 0.8577 GB, free: 10.14 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.02985, allocations: 39.06 kB / 0.8578 GB, free: 10.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.903e-06/0.02985, allocations: 0 / 0.8578 GB, free: 10.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001323/0.03117, allocations: 0.8043 MB / 0.8586 GB, free: 9.262 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.0312, allocations: 55.91 kB / 0.8586 GB, free: 9.195 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.03149, allocations: 470.9 kB / 0.8591 GB, free: 8.723 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.03152, allocations: 33.7 kB / 0.8591 GB, free: 8.684 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.03169, allocations: 384.7 kB / 0.8595 GB, free: 8.301 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.03179, allocations: 178.4 kB / 0.8596 GB, free: 8.125 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.03191, allocations: 122.5 kB / 0.8598 GB, free: 8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.03202, allocations: 378.6 kB / 0.8601 GB, free: 7.621 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.03211, allocations: 73.97 kB / 0.8602 GB, free: 7.551 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.03231, allocations: 301 kB / 0.8605 GB, free: 7.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.03266, allocations: 438.8 kB / 0.8609 GB, free: 6.637 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.03267, allocations: 4 kB / 0.8609 GB, free: 6.633 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006725/0.03334, allocations: 0.5673 MB / 0.8615 GB, free: 6.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.03336, allocations: 8 kB / 0.8615 GB, free: 6.031 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.03337, allocations: 4 kB / 0.8615 GB, free: 6.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.03398, allocations: 290.5 kB / 0.8617 GB, free: 5.727 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.0342, allocations: 115.8 kB / 0.8619 GB, free: 5.613 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.03717, allocations: 5.291 MB / 0.867 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.03737, allocations: 20 kB / 0.867 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.03739, allocations: 24 kB / 0.8671 GB, free: 15.88 MB / 0.8386 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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.03753, allocations: 164.5 kB / 0.8672 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.03759, allocations: 55.94 kB / 0.8673 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.03809, allocations: 451.3 kB / 0.8677 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.03809, allocations: 4 kB / 0.8677 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0381, allocations: 8 kB / 0.8677 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.0381, allocations: 3.984 kB / 0.8677 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.03901, allocations: 0.8736 MB / 0.8686 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03902, allocations: 0 / 0.8686 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.03912, allocations: 56.09 kB / 0.8686 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.03966, allocations: 286.5 kB / 0.8689 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.03968, allocations: 12 kB / 0.8689 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.04282, allocations: 5.287 MB / 0.8741 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.04283, allocations: 4 kB / 0.8741 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.04371, allocations: 0.5815 MB / 0.8746 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.04385, allocations: 91.52 kB / 0.8747 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.0439, allocations: 15.98 kB / 0.8747 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.04405, allocations: 8 kB / 0.8748 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.04413, allocations: 43.92 kB / 0.8748 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.04415, allocations: 12 kB / 0.8748 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001406/0.04429, allocations: 200.3 kB / 0.875 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04429, allocations: 4 kB / 0.875 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005101/0.0448, allocations: 224 kB / 0.8752 GB, free: 6.977 MB / 0.8386 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 (31): * Single equations (assignments): 27 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.04492, allocations: 96.34 kB / 0.8753 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.04577, allocations: 0.8897 MB / 0.8762 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/0.04579, allocations: 8.5 kB / 0.8762 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.04629, allocations: 0.7114 MB / 0.8769 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.04678, allocations: 209.7 kB / 0.8771 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.04833, allocations: 1.262 MB / 0.8783 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.04848, allocations: 207.3 kB / 0.8785 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.04869, allocations: 77.47 kB / 0.8786 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.04896, allocations: 217.2 kB / 0.8788 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of SimCode: time 1.272e-06/0.04896, allocations: 0 / 0.8788 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of Templates: time 0.01407/0.06303, allocations: 12.08 MB / 0.8906 GB, free: 7.281 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.308007122017443]