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.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.001872/0.001872, allocations: 114.6 kB / 17.08 MB, free: 5.961 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.002039/0.002039, allocations: 191.7 kB / 20.02 MB, free: 3.043 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.485/1.485, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 489.2 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",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.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002978/0.002978, allocations: 67.88 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.177, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007231/1.184, allocations: 5.463 MB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004902/1.189, allocations: 2.634 MB / 1.27 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/1.19, allocations: 20.88 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/1.192, allocations: 0.6815 MB / 1.271 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/1.193, allocations: 411.2 kB / 1.272 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/1.195, allocations: 391.5 kB / 1.272 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00156/1.196, allocations: 0.9502 MB / 1.273 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/1.197, allocations: 463.1 kB / 1.273 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000794/1.198, allocations: 372.5 kB / 1.274 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/1.199, allocations: 400.6 kB / 1.274 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/1.199, allocations: 46.97 kB / 1.274 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/1.2, allocations: 367.4 kB / 1.274 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/1.2, allocations: 253.4 kB / 1.275 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/1.2, allocations: 349.1 kB / 1.275 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/1.202, allocations: 0.9789 MB / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.202, allocations: 0 / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.447e-06/1.202, allocations: 0.6562 kB / 1.276 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.202, allocations: 5.344 kB / 1.276 GB, free: 15.89 MB / 1.014 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.002419/1.205, allocations: 0.9841 MB / 1.277 GB, free: 15.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.205, allocations: 9.625 kB / 1.277 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/1.206, allocations: 202.3 kB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.208, allocations: 0.5124 MB / 1.278 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/1.208, allocations: 46.08 kB / 1.278 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/1.208, allocations: 56.64 kB / 1.278 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/1.209, allocations: 0.8227 MB / 1.279 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/1.209, allocations: 15.28 kB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/1.21, allocations: 27.27 kB / 1.279 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/1.21, allocations: 64.25 kB / 1.279 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.211, allocations: 0.5684 MB / 1.279 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/1.217, allocations: 4.575 MB / 1.284 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/1.217, allocations: 293.7 kB / 1.284 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/1.218, allocations: 230.9 kB / 1.284 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/1.218, allocations: 4.375 kB / 1.284 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.218, allocations: 36.91 kB / 1.284 GB, free: 9.871 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/1.218, allocations: 0 / 1.284 GB, free: 9.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.00669/1.225, allocations: 2.654 MB / 1.287 GB, free: 8.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/1.225, allocations: 56.44 kB / 1.287 GB, free: 8.398 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/1.225, allocations: 456 kB / 1.287 GB, free: 8.176 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/1.226, allocations: 35.89 kB / 1.287 GB, free: 8.137 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/1.226, allocations: 342.7 kB / 1.288 GB, free: 7.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.226, allocations: 150.4 kB / 1.288 GB, free: 7.746 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.226, allocations: 101.6 kB / 1.288 GB, free: 7.691 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.227, allocations: 368.4 kB / 1.288 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/1.227, allocations: 234.6 kB / 1.288 GB, free: 7.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/1.228, allocations: 408.4 kB / 1.289 GB, free: 6.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.229, allocations: 0.6731 MB / 1.29 GB, free: 6.539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.229, allocations: 2.25 kB / 1.29 GB, free: 6.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002042/1.231, allocations: 0.9269 MB / 1.29 GB, free: 6.145 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.231, allocations: 9.047 kB / 1.29 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.231, allocations: 5.844 kB / 1.29 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/1.232, allocations: 224.2 kB / 1.291 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/1.232, allocations: 115.3 kB / 1.291 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/1.239, allocations: 5.35 MB / 1.296 GB, free: 1.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/1.24, allocations: 31.52 kB / 1.296 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/1.24, allocations: 22.62 kB / 1.296 GB, free: 1.375 MB / 1.014 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.0004468/1.24, allocations: 224.6 kB / 1.296 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/1.24, allocations: 65.66 kB / 1.296 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.242, allocations: 0.7774 MB / 1.297 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.242, allocations: 3.656 kB / 1.297 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.242, allocations: 7.656 kB / 1.297 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.242, allocations: 2.203 kB / 1.297 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/1.245, allocations: 1.49 MB / 1.299 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.245, allocations: 6.016 kB / 1.299 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.246, allocations: 68.12 kB / 1.299 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007595/1.246, allocations: 207 kB / 1.299 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/1.246, allocations: 8.547 kB / 1.299 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/1.252, allocations: 5.273 MB / 1.304 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.252, allocations: 2.25 kB / 1.304 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/1.255, allocations: 1.13 MB / 1.305 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/1.255, allocations: 174.5 kB / 1.305 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/1.255, allocations: 13.72 kB / 1.305 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/1.256, allocations: 33.11 kB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.256, allocations: 33.53 kB / 1.305 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/1.256, allocations: 19.53 kB / 1.305 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004618/1.256, allocations: 308.4 kB / 1.306 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.256, allocations: 0 / 1.306 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009013/1.257, allocations: 174.5 kB / 1.306 GB, free: 10.39 MB / 1.029 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.0002032/1.257, allocations: 117.1 kB / 1.306 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001873/1.259, allocations: 1.017 MB / 1.307 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.259, allocations: 1.094 kB / 1.307 GB, free: 9.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/1.26, allocations: 0.6747 MB / 1.308 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/1.261, allocations: 194.8 kB / 1.308 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/1.264, allocations: 1.314 MB / 1.309 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/1.265, allocations: 0.9584 MB / 1.31 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.265, allocations: 40.95 kB / 1.31 GB, free: 7.656 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/1.265, allocations: 0 / 1.31 GB, free: 7.656 MB / 1.029 GB Notification: Performance of Templates: time 0.02807/1.293, allocations: 14.82 MB / 1.324 GB, free: 5.25 MB / 1.029 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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: 14.714624359970912]