Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001272/0.001272, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.002399/0.002399, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.11/2.11, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.334e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005242/0.005265, allocations: 5.557 MB / 0.8836 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.008463, allocations: 2.677 MB / 0.8862 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.008722, allocations: 31.69 kB / 0.8863 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.009731, allocations: 0.7099 MB / 0.8869 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006123/0.01034, allocations: 437.3 kB / 0.8874 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.01092, allocations: 394.8 kB / 0.8877 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007766/0.0117, allocations: 0.9785 MB / 0.8887 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.01214, allocations: 382.5 kB / 0.8891 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.0126, allocations: 0.5143 MB / 0.8896 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.013, allocations: 374.9 kB / 0.8899 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.01305, allocations: 48 kB / 0.89 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.01341, allocations: 335.1 kB / 0.8903 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.01359, allocations: 267.2 kB / 0.8905 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.01377, allocations: 239.4 kB / 0.8908 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.01449, allocations: 0.7201 MB / 0.8915 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.0145, allocations: 4 kB / 0.8915 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.363e-06/0.0145, allocations: 0 / 0.8915 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.0145, allocations: 0 / 0.8915 GB, free: 9.02 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001028/0.01553, allocations: 1.013 MB / 0.8925 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.01557, allocations: 8.031 kB / 0.8925 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008554/0.01643, allocations: 291.8 kB / 0.8928 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.01695, allocations: 485.8 kB / 0.8932 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.01698, allocations: 41.36 kB / 0.8933 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.01709, allocations: 56.5 kB / 0.8933 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.01775, allocations: 0.7903 MB / 0.8941 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01777, allocations: 12.08 kB / 0.8941 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.01781, allocations: 24.12 kB / 0.8941 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.01793, allocations: 64.89 kB / 0.8942 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.0183, allocations: 277.5 kB / 0.8944 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.02097, allocations: 4.414 MB / 0.8988 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.02121, allocations: 143.8 kB / 0.8989 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.02133, allocations: 100.2 kB / 0.899 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.02135, allocations: 8.219 kB / 0.899 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.02138, allocations: 41.67 kB / 0.899 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.02138, allocations: 0 / 0.899 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.002562/0.02394, allocations: 1.544 MB / 0.9005 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.02398, allocations: 59.34 kB / 0.9006 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.02427, allocations: 450.5 kB / 0.901 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.0243, allocations: 37.7 kB / 0.9011 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.02448, allocations: 403.1 kB / 0.9014 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.02456, allocations: 150.7 kB / 0.9016 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.02468, allocations: 108 kB / 0.9017 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.02482, allocations: 0.5352 MB / 0.9022 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.02496, allocations: 101.2 kB / 0.9023 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.02523, allocations: 341 kB / 0.9026 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.02566, allocations: 494.1 kB / 0.9031 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.02566, allocations: 4 kB / 0.9031 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008104/0.02647, allocations: 0.6287 MB / 0.9037 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.0265, allocations: 8 kB / 0.9037 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.02651, allocations: 8 kB / 0.9037 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.02712, allocations: 231.4 kB / 0.904 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.0274, allocations: 115.8 kB / 0.9041 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.03046, allocations: 5.643 MB / 0.9096 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.03067, allocations: 35.91 kB / 0.9096 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.03069, allocations: 27.94 kB / 0.9096 GB, free: 5.289 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001527/0.03085, allocations: 188.4 kB / 0.9098 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.03092, allocations: 67.67 kB / 0.9099 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.03163, allocations: 0.4963 MB / 0.9104 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03164, allocations: 4 kB / 0.9104 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.03164, allocations: 4 kB / 0.9104 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03165, allocations: 3.984 kB / 0.9104 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.03279, allocations: 1.06 MB / 0.9114 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0328, allocations: 4 kB / 0.9114 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.03298, allocations: 67.88 kB / 0.9115 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.03346, allocations: 219 kB / 0.9117 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.03349, allocations: 11.98 kB / 0.9117 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.03644, allocations: 5.643 MB / 0.9172 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.03644, allocations: 0 / 0.9172 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.03724, allocations: 0.7416 MB / 0.9179 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.03735, allocations: 91.62 kB / 0.918 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.03739, allocations: 16 kB / 0.918 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.03754, allocations: 28.14 kB / 0.9181 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.03762, allocations: 39.88 kB / 0.9181 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.03763, allocations: 16 kB / 0.9181 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001932/0.03783, allocations: 295 kB / 0.9184 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.03783, allocations: 0 / 0.9184 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004461/0.03827, allocations: 168 kB / 0.9186 GB, free: 11.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.03844, allocations: 115.1 kB / 0.9187 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.03947, allocations: 0.9167 MB / 0.9196 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.03947, allocations: 0 / 0.9196 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.03997, allocations: 0.7323 MB / 0.9203 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.04053, allocations: 182 kB / 0.9205 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.04211, allocations: 1.141 MB / 0.9216 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.04223, allocations: 186.5 kB / 0.9218 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.04242, allocations: 96.73 kB / 0.9218 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.04249, allocations: 36.5 kB / 0.9219 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/0.04249, allocations: 0 / 0.9219 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of Templates: time 0.0112/0.05369, allocations: 9.18 MB / 0.9308 GB, free: 15.02 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.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.894529299810529]