Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3965, allocations: 160.8 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01045/0.407, allocations: 6.993 MB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005808/0.4128, allocations: 3.153 MB / 1.226 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.4133, allocations: 27.88 kB / 1.226 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.416, allocations: 0.9997 MB / 1.227 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.4173, allocations: 0.5168 MB / 1.228 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4183, allocations: 415 kB / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4197, allocations: 1.236 MB / 1.229 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007453/0.4204, allocations: 482.2 kB / 1.23 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.421, allocations: 478.3 kB / 1.23 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/0.4217, allocations: 0.5448 MB / 1.231 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.4218, allocations: 68 kB / 1.231 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.4225, allocations: 383.2 kB / 1.231 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.4229, allocations: 319.1 kB / 1.231 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.4234, allocations: 449.7 kB / 1.232 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4247, allocations: 1.218 MB / 1.233 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4248, allocations: 0 / 1.233 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4248, allocations: 11.94 kB / 1.233 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.4248, allocations: 0 / 1.233 GB, free: 14.04 MB / 0.9825 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.001974/0.4267, allocations: 1.183 MB / 1.234 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4268, allocations: 8.031 kB / 1.234 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.4283, allocations: 240.1 kB / 1.234 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.4293, allocations: 0.6003 MB / 1.235 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.4293, allocations: 53.61 kB / 1.235 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4294, allocations: 64.36 kB / 1.235 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.431, allocations: 1.089 MB / 1.236 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.4311, allocations: 7.891 kB / 1.236 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.4311, allocations: 31.98 kB / 1.236 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.4313, allocations: 85.25 kB / 1.236 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4325, allocations: 0.7465 MB / 1.237 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005973/0.4385, allocations: 5.882 MB / 1.243 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4395, allocations: 0.5182 MB / 1.243 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.44, allocations: 289.9 kB / 1.243 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.44, allocations: 4.438 kB / 1.243 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.44, allocations: 38.94 kB / 1.244 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 1.913e-06/0.44, allocations: 4 kB / 1.244 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.004098/0.4441, allocations: 1.98 MB / 1.245 GB, free: 496 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4442, allocations: 55.84 kB / 1.246 GB, free: 428 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/0.4449, allocations: 0.5587 MB / 1.246 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.4449, allocations: 37.7 kB / 1.246 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4453, allocations: 424 kB / 1.247 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.4454, allocations: 182.4 kB / 1.247 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.4456, allocations: 126.6 kB / 1.247 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4458, allocations: 378.7 kB / 1.247 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.4463, allocations: 277.8 kB / 1.247 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.4469, allocations: 489 kB / 1.248 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.448, allocations: 0.8093 MB / 1.249 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.448, allocations: 4 kB / 1.249 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001927/0.4499, allocations: 1.079 MB / 1.25 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4499, allocations: 8.875 kB / 1.25 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4499, allocations: 8 kB / 1.25 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008935/0.4508, allocations: 287.1 kB / 1.25 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.4513, allocations: 127.8 kB / 1.25 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0074/0.4587, allocations: 7.131 MB / 1.257 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007203/0.4594, allocations: 47.89 kB / 1.257 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.4595, allocations: 32.05 kB / 1.257 GB, free: 3.641 MB / 0.9981 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.0005155/0.46, allocations: 261.4 kB / 1.257 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4601, allocations: 71.58 kB / 1.258 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.4617, allocations: 0.8768 MB / 1.258 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4617, allocations: 8 kB / 1.258 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4617, allocations: 0 / 1.258 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4617, allocations: 4 kB / 1.258 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.4645, allocations: 1.705 MB / 1.26 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4645, allocations: 4 kB / 1.26 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.4648, allocations: 67.83 kB / 1.26 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/0.4655, allocations: 267.3 kB / 1.26 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.4656, allocations: 12 kB / 1.26 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7912/1.257, allocations: 7.123 MB / 1.267 GB, free: 42.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.257, allocations: 0 / 1.267 GB, free: 42.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.258, allocations: 0.978 MB / 1.268 GB, free: 42.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/1.259, allocations: 199.8 kB / 1.268 GB, free: 42.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/1.259, allocations: 15.86 kB / 1.268 GB, free: 42.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/1.259, allocations: 24.73 kB / 1.269 GB, free: 42.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.259, allocations: 45.8 kB / 1.269 GB, free: 42.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/1.259, allocations: 12.75 kB / 1.269 GB, free: 42.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004102/1.26, allocations: 380.2 kB / 1.269 GB, free: 42.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.26, allocations: 7.562 kB / 1.269 GB, free: 42.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008238/1.26, allocations: 224.9 kB / 1.269 GB, free: 42.04 MB / 0.9981 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.0001555/1.261, allocations: 116 kB / 1.269 GB, free: 41.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001937/1.263, allocations: 1.236 MB / 1.27 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.263, allocations: 0 / 1.27 GB, free: 41.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.264, allocations: 0.8588 MB / 1.271 GB, free: 41.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.265, allocations: 222.7 kB / 1.272 GB, free: 41.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/1.267, allocations: 1.36 MB / 1.273 GB, free: 40.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/1.267, allocations: 1.006 MB / 1.274 GB, free: 39.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004066/1.268, allocations: 123.3 kB / 1.274 GB, free: 39.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/1.268, allocations: 43.53 kB / 1.274 GB, free: 39.75 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.268, allocations: 0 / 1.274 GB, free: 39.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.02989/1.298, allocations: 11.68 MB / 1.285 GB, free: 39.14 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 10.126732431352139]