Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008012/0.0008012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008303/0.0008303, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8562/0.8562, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663/1.663, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.998e-05, allocations: 9.234 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004763/0.004783, allocations: 5.214 MB / 0.9861 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.007653, allocations: 2.572 MB / 0.9886 GB, free: 10.78 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.007949, allocations: 27.75 kB / 0.9886 GB, free: 10.75 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.008984, allocations: 0.6806 MB / 0.9893 GB, free: 10.07 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007846/0.009769, allocations: 445.2 kB / 0.9897 GB, free: 9.629 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.01044, allocations: 400.7 kB / 0.9901 GB, free: 9.238 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000799/0.01123, allocations: 0.9746 MB / 0.991 GB, free: 8.262 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.0117, allocations: 378.5 kB / 0.9914 GB, free: 7.887 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.01228, allocations: 0.526 MB / 0.9919 GB, free: 7.359 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.01268, allocations: 363 kB / 0.9922 GB, free: 7.004 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.01274, allocations: 48 kB / 0.9923 GB, free: 6.957 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.0132, allocations: 335 kB / 0.9926 GB, free: 6.629 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.01339, allocations: 263.2 kB / 0.9929 GB, free: 6.371 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.01358, allocations: 235.4 kB / 0.9931 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.01456, allocations: 1.001 MB / 0.9941 GB, free: 5.137 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01456, allocations: 0 / 0.9941 GB, free: 5.137 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01456, allocations: 0 / 0.9941 GB, free: 5.137 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.01458, allocations: 0 / 0.9941 GB, free: 5.137 MB / 0.948 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.001238/0.01582, allocations: 0.913 MB / 0.995 GB, free: 4.191 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01586, allocations: 8.031 kB / 0.995 GB, free: 4.184 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.099e-05/0.01594, allocations: 98.69 kB / 0.9951 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.0167, allocations: 200.2 kB / 0.9952 GB, free: 3.883 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.01727, allocations: 462.9 kB / 0.9957 GB, free: 3.406 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.0173, allocations: 37.38 kB / 0.9957 GB, free: 3.367 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.01741, allocations: 56.55 kB / 0.9958 GB, free: 3.312 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000882/0.01829, allocations: 0.975 MB / 0.9967 GB, free: 2.215 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.01831, allocations: 12.12 kB / 0.9967 GB, free: 2.203 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.01835, allocations: 31.92 kB / 0.9968 GB, free: 2.172 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.01846, allocations: 60.95 kB / 0.9968 GB, free: 2.113 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/0.01906, allocations: 0.5658 MB / 0.9974 GB, free: 1.547 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.02162, allocations: 3.565 MB / 1.001 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.02194, allocations: 287.1 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.02214, allocations: 205.3 kB / 1.001 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.02216, allocations: 4.281 kB / 1.001 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.02219, allocations: 38.84 kB / 1.001 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.02219, allocations: 0 / 1.001 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.003314/0.0255, allocations: 2.34 MB / 1.004 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.02553, allocations: 55.41 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.02587, allocations: 465.9 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.0259, allocations: 37.64 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.02605, allocations: 344.5 kB / 1.005 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.02613, allocations: 150.7 kB / 1.005 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02624, allocations: 106.3 kB / 1.005 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.02633, allocations: 362.7 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.02658, allocations: 241.2 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.02689, allocations: 407.3 kB / 1.006 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.02747, allocations: 0.674 MB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02747, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001017/0.02849, allocations: 0.9177 MB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.02851, allocations: 12.03 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.02852, allocations: 8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.02896, allocations: 226.3 kB / 1.008 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.02924, allocations: 115.8 kB / 1.008 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.03245, allocations: 5.007 MB / 1.013 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.03273, allocations: 27.97 kB / 1.013 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.03276, allocations: 24 kB / 1.013 GB, free: 1.219 MB / 0.9636 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.0002258/0.03299, allocations: 225.6 kB / 1.013 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.03304, allocations: 59.62 kB / 1.013 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.03389, allocations: 0.7619 MB / 1.014 GB, free: 148 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.0339, allocations: 8.125 kB / 1.014 GB, free: 140 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.0339, allocations: 8 kB / 1.014 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.03391, allocations: 0 / 1.014 GB, free: 132 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.03536, allocations: 1.391 MB / 1.015 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.03536, allocations: 4.219 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.03555, allocations: 71.88 kB / 1.015 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.0359, allocations: 202.4 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.03592, allocations: 8 kB / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002902/0.03882, allocations: 4.949 MB / 1.02 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03882, allocations: 0 / 1.02 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.03994, allocations: 1.116 MB / 1.021 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.04008, allocations: 91.62 kB / 1.021 GB, free: 7.816 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.04012, allocations: 12.06 kB / 1.021 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.04029, allocations: 31.91 kB / 1.021 GB, free: 7.773 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.04037, allocations: 43.88 kB / 1.021 GB, free: 7.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.04039, allocations: 8 kB / 1.021 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002273/0.04061, allocations: 314.9 kB / 1.022 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.04061, allocations: 0 / 1.022 GB, free: 7.418 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000475/0.04109, allocations: 168 kB / 1.022 GB, free: 7.254 MB / 0.9792 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.001275/0.04236, allocations: 1.689 MB / 1.023 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.0434, allocations: 0.9727 MB / 1.024 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.04341, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.04391, allocations: 0.6681 MB / 1.025 GB, free: 3.789 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.04446, allocations: 184.1 kB / 1.025 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.04944, allocations: 5.562 MB / 1.031 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.04974, allocations: 350.2 kB / 1.031 GB, free: 13.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.04998, allocations: 117 kB / 1.031 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.05016, allocations: 208.4 kB / 1.031 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.05017, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3672/0.4173, allocations: 15.73 MB / 1.047 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.092/7.51, allocations: 4.797 kB / 1.047 GB, free: 100.3 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.329292268492281]