Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001412/0.001412, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001544/0.001544, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.429/1.429, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.777/2.777, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.262e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01582/0.01585, allocations: 10.19 MB / 0.8208 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.03099, allocations: 8.376 MB / 0.8289 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.03229, allocations: 87.25 kB / 0.829 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005062/0.03735, allocations: 1.682 MB / 0.8307 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.04239, allocations: 1.617 MB / 0.8322 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.04436, allocations: 0.6779 MB / 0.8329 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003415/0.04777, allocations: 2.356 MB / 0.8352 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.04984, allocations: 1.156 MB / 0.8363 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.05286, allocations: 1.535 MB / 0.8378 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.05459, allocations: 0.8257 MB / 0.8386 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003229/0.05491, allocations: 136 kB / 0.8388 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.05656, allocations: 0.7442 MB / 0.8395 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0007862/0.05735, allocations: 0.6036 MB / 0.8401 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.05843, allocations: 0.5884 MB / 0.8407 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.06264, allocations: 2.593 MB / 0.8432 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.06265, allocations: 0 / 0.8432 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.613e-06/0.06265, allocations: 0 / 0.8432 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.213e-05/0.06273, allocations: 0 / 0.8432 GB, free: 0.8594 MB / 0.7917 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.004878/0.06761, allocations: 1.968 MB / 0.8451 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.06765, allocations: 8.031 kB / 0.8451 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.07991, allocations: 2.265 MB / 0.8473 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.08281, allocations: 1.188 MB / 0.8485 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.08292, allocations: 82.7 kB / 0.8486 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.08334, allocations: 124.3 kB / 0.8487 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006564/0.0899, allocations: 2.701 MB / 0.8513 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.08995, allocations: 15.89 kB / 0.8513 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.09015, allocations: 48 kB / 0.8514 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/0.09053, allocations: 126.1 kB / 0.8515 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.09839, allocations: 2.545 MB / 0.854 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.1124, allocations: 7.506 MB / 0.8613 GB, free: 13.81 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006568/0.119, allocations: 1.842 MB / 0.8631 GB, free: 11.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.122, allocations: 0.9505 MB / 0.8641 GB, free: 11.01 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.122, allocations: 8.5 kB / 0.8641 GB, free: 11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.1221, allocations: 39.06 kB / 0.8641 GB, free: 10.95 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.1221, allocations: 0 / 0.8641 GB, free: 10.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.03424/0.1563, allocations: 9.132 MB / 0.873 GB, free: 1.785 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.1564, allocations: 64.06 kB / 0.8731 GB, free: 1.711 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.1579, allocations: 0.9554 MB / 0.874 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.158, allocations: 37.7 kB / 0.874 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.1587, allocations: 0.766 MB / 0.8748 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.1591, allocations: 289.5 kB / 0.8751 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004513/0.1595, allocations: 198.5 kB / 0.8753 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1597, allocations: 349.7 kB / 0.8756 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/0.163, allocations: 1.087 MB / 0.8767 GB, free: 14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.1664, allocations: 1.31 MB / 0.8779 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.1731, allocations: 2.405 MB / 0.8803 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1731, allocations: 4 kB / 0.8803 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009957/0.1831, allocations: 3.312 MB / 0.8835 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.1831, allocations: 15.88 kB / 0.8835 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.1831, allocations: 8 kB / 0.8835 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004405/0.1876, allocations: 0.9906 MB / 0.8845 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.1895, allocations: 415.3 kB / 0.8849 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/0.2095, allocations: 15.07 MB / 0.8996 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.2119, allocations: 295.5 kB / 0.8999 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.2121, allocations: 51.97 kB / 0.9 GB, free: 5.078 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008617/0.2129, allocations: 401.5 kB / 0.9003 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000443/0.2134, allocations: 159.2 kB / 0.9005 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/0.223, allocations: 3.204 MB / 0.9036 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.223, allocations: 8 kB / 0.9036 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/0.2231, allocations: 8 kB / 0.9036 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2231, allocations: 11.92 kB / 0.9036 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.2354, allocations: 4.519 MB / 0.9081 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.2354, allocations: 4 kB / 0.9081 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.2371, allocations: 359.7 kB / 0.9084 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/0.241, allocations: 0.9043 MB / 0.9093 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2412, allocations: 31.97 kB / 0.9093 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.26, allocations: 14.67 MB / 0.9236 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.2601, allocations: 4 kB / 0.9236 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.2704, allocations: 3.074 MB / 0.9267 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008445/0.2713, allocations: 299 kB / 0.9269 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.2716, allocations: 19.94 kB / 0.927 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/0.2749, allocations: 295.5 kB / 0.9272 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/0.2754, allocations: 84.44 kB / 0.9273 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/0.2756, allocations: 35.97 kB / 0.9274 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001684/0.2773, allocations: 0.6346 MB / 0.928 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2773, allocations: 3.938 kB / 0.928 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002679/0.2799, allocations: 451.9 kB / 0.9284 GB, free: 6.859 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (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.0003965/0.2803, allocations: 120.7 kB / 0.9285 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01421/0.2945, allocations: 3.556 MB / 0.932 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.2945, allocations: 0 / 0.932 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008521/0.3031, allocations: 2.339 MB / 0.9343 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.3068, allocations: 0.4995 MB / 0.9348 GB, free: 152 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.322, allocations: 3.811 MB / 0.9385 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.3233, allocations: 0.7976 MB / 0.9393 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001539/0.3248, allocations: 366.6 kB / 0.9396 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.3252, allocations: 96.44 kB / 0.9397 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of SimCode: time 1.603e-06/0.3253, allocations: 0 / 0.9397 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of Templates: time 0.05447/0.3797, allocations: 31.37 MB / 0.9703 GB, free: 12.25 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.741179755073972]