Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001955/0.001955, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002135/0.002135, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.91 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.9216, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007873/0.9294, allocations: 6.833 MB / 1.275 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.9345, allocations: 3.09 MB / 1.278 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.9353, allocations: 28.34 kB / 1.278 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.9377, allocations: 0.9534 MB / 1.279 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.9392, allocations: 0.5183 MB / 1.28 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.9405, allocations: 428.9 kB / 1.28 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.9425, allocations: 1.221 MB / 1.281 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009477/0.9435, allocations: 0.5377 MB / 1.282 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.9443, allocations: 473.3 kB / 1.282 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/0.9452, allocations: 0.5541 MB / 1.283 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.9453, allocations: 66.09 kB / 1.283 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008525/0.9462, allocations: 391.5 kB / 1.283 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.9466, allocations: 315.9 kB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.9471, allocations: 456.1 kB / 1.284 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.9489, allocations: 1.211 MB / 1.285 GB, free: 13.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.949, allocations: 2.891 kB / 1.285 GB, free: 13.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/0.949, allocations: 0 / 1.285 GB, free: 13.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.949, allocations: 0 / 1.285 GB, free: 13.73 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002331/0.9513, allocations: 1.184 MB / 1.287 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9514, allocations: 10.5 kB / 1.287 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.9515, allocations: 119.3 kB / 1.287 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.9531, allocations: 242.8 kB / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.9543, allocations: 0.588 MB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.9543, allocations: 52.92 kB / 1.288 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.9544, allocations: 69.84 kB / 1.288 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.9561, allocations: 1.092 MB / 1.289 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.9562, allocations: 7.156 kB / 1.289 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.9562, allocations: 29.64 kB / 1.289 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.9564, allocations: 88.5 kB / 1.289 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.9576, allocations: 0.7499 MB / 1.289 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006328/0.964, allocations: 5.88 MB / 1.295 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.9649, allocations: 0.5102 MB / 1.296 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.9654, allocations: 284.3 kB / 1.296 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.9654, allocations: 4.312 kB / 1.296 GB, free: 6.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.9654, allocations: 42.89 kB / 1.296 GB, free: 6.043 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.9654, allocations: 4 kB / 1.296 GB, free: 6.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004642/0.9701, allocations: 1.984 MB / 1.298 GB, free: 4.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.9701, allocations: 55.91 kB / 1.298 GB, free: 4.918 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.9709, allocations: 0.559 MB / 1.299 GB, free: 4.656 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.971, allocations: 35.73 kB / 1.299 GB, free: 4.617 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.9713, allocations: 422.8 kB / 1.299 GB, free: 4.277 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.9715, allocations: 180.8 kB / 1.299 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.9717, allocations: 124.1 kB / 1.299 GB, free: 4.066 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.9719, allocations: 378.8 kB / 1.3 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.9723, allocations: 275.2 kB / 1.3 GB, free: 3.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.9729, allocations: 497.8 kB / 1.3 GB, free: 3.254 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.9741, allocations: 0.811 MB / 1.301 GB, free: 2.719 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9741, allocations: 2.406 kB / 1.301 GB, free: 2.719 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001986/0.9761, allocations: 1.077 MB / 1.302 GB, free: 2.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.9761, allocations: 9.641 kB / 1.302 GB, free: 2.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9761, allocations: 10.12 kB / 1.302 GB, free: 2.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008764/0.977, allocations: 285.6 kB / 1.303 GB, free: 2.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.9775, allocations: 125.8 kB / 1.303 GB, free: 2.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007475/0.985, allocations: 7.144 MB / 1.31 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.9856, allocations: 40.25 kB / 1.31 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.9857, allocations: 26.19 kB / 1.31 GB, free: 11.88 MB / 1.029 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.0004525/0.9862, allocations: 256.9 kB / 1.31 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.9863, allocations: 75.98 kB / 1.31 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.988, allocations: 0.8752 MB / 1.311 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.988, allocations: 9.531 kB / 1.311 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.988, allocations: 3.906 kB / 1.311 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.988, allocations: 5.641 kB / 1.311 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.991, allocations: 1.707 MB / 1.313 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.9911, allocations: 2.953 kB / 1.313 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.9913, allocations: 63.95 kB / 1.313 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/0.9921, allocations: 273.6 kB / 1.313 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.9921, allocations: 16.38 kB / 1.313 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.9992, allocations: 7.132 MB / 1.32 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9992, allocations: 6.906 kB / 1.32 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.001, allocations: 0.9693 MB / 1.321 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/1.001, allocations: 198.4 kB / 1.321 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.001, allocations: 20.42 kB / 1.321 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/1.002, allocations: 26.22 kB / 1.321 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.002, allocations: 49.95 kB / 1.321 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/1.002, allocations: 14.69 kB / 1.321 GB, free: 3.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005099/1.002, allocations: 381.2 kB / 1.321 GB, free: 3.172 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.002, allocations: 0 / 1.321 GB, free: 3.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000904/1.003, allocations: 225 kB / 1.322 GB, free: 3.148 MB / 1.029 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.001938/1.005, allocations: 1.534 MB / 1.323 GB, free: 2.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002119/1.007, allocations: 1.232 MB / 1.324 GB, free: 1.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.007, allocations: 1.375 kB / 1.324 GB, free: 1.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.009, allocations: 0.8679 MB / 1.325 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.01, allocations: 220.5 kB / 1.325 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00982/1.02, allocations: 6.366 MB / 1.332 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/1.02, allocations: 1.006 MB / 1.333 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004656/1.021, allocations: 122.6 kB / 1.333 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/1.021, allocations: 250.4 kB / 1.333 GB, free: 12.05 MB / 1.045 GB Notification: Performance of SimCode: time 8.81e-07/1.021, allocations: 4 kB / 1.333 GB, free: 12.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06295/1.084, allocations: 17.5 MB / 1.35 GB, free: 6.879 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.47, allocations: 8.766 kB / 1.35 GB, free: 6.875 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.55713762808591]