Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0007702/0.0007702, 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.0009241/0.0009241, 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.8203/0.8203, allocations: 177.1 MB / 202.8 MB, free: 5.75 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 1.666/1.666, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.084e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004778/0.004789, allocations: 6.384 MB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.007439, allocations: 3.001 MB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.00771, allocations: 35.69 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.008784, allocations: 0.9554 MB / 1.01 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.00932, allocations: 0.528 MB / 1.01 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.009775, allocations: 442 kB / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.01046, allocations: 1.259 MB / 1.012 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.01098, allocations: 0.5334 MB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.01146, allocations: 0.6663 MB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.01184, allocations: 474.7 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.01196, allocations: 68 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.01225, allocations: 347.1 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.01243, allocations: 335 kB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.01261, allocations: 315.2 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.01334, allocations: 1.246 MB / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01335, allocations: 0 / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01335, allocations: 0 / 1.016 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.01335, allocations: 0 / 1.016 GB, free: 12.89 MB / 0.9792 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.001039/0.01439, allocations: 1.104 MB / 1.017 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.01443, allocations: 8.75 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.663e-05/0.01451, allocations: 118.7 kB / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.01525, allocations: 248.1 kB / 1.017 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.0158, allocations: 0.5223 MB / 1.018 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.01582, allocations: 49.67 kB / 1.018 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.01589, allocations: 60.38 kB / 1.018 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.01682, allocations: 1.336 MB / 1.019 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01684, allocations: 4.188 kB / 1.019 GB, free: 9.207 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.01688, allocations: 36.06 kB / 1.019 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-05/0.01697, allocations: 85.25 kB / 1.019 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.01766, allocations: 0.7504 MB / 1.02 GB, free: 8.34 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.02039, allocations: 4.62 MB / 1.025 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.02098, allocations: 0.5089 MB / 1.025 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.02123, allocations: 286.2 kB / 1.025 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.02125, allocations: 4.5 kB / 1.025 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.02127, allocations: 43.05 kB / 1.025 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 1.473e-06/0.02127, allocations: 0 / 1.025 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.002004/0.02328, allocations: 1.689 MB / 1.027 GB, free: 0.9883 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.0233, allocations: 59.91 kB / 1.027 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.02372, allocations: 0.5664 MB / 1.028 GB, free: 348 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.02374, allocations: 33.64 kB / 1.028 GB, free: 308 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.02392, allocations: 424.1 kB / 1.028 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.02399, allocations: 174.5 kB / 1.028 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.0241, allocations: 130.6 kB / 1.028 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.0242, allocations: 370.8 kB / 1.029 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.02445, allocations: 273.8 kB / 1.029 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.02478, allocations: 496.9 kB / 1.029 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.0254, allocations: 0.8202 MB / 1.03 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.0254, allocations: 0 / 1.03 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001011/0.02641, allocations: 1.07 MB / 1.031 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.02642, allocations: 12.06 kB / 1.031 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.02643, allocations: 12 kB / 1.031 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.02688, allocations: 279.2 kB / 1.032 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.02711, allocations: 127.7 kB / 1.032 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.03069, allocations: 6.679 MB / 1.038 GB, free: 4.777 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.03092, allocations: 39.97 kB / 1.038 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.03095, allocations: 24.23 kB / 1.038 GB, free: 4.715 MB / 0.9948 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.0001882/0.03114, allocations: 253.6 kB / 1.039 GB, free: 4.457 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.0312, allocations: 79.58 kB / 1.039 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.03206, allocations: 0.8783 MB / 1.039 GB, free: 3.484 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03206, allocations: 4 kB / 1.039 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.03207, allocations: 11.92 kB / 1.039 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.03207, allocations: 3.984 kB / 1.039 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.03349, allocations: 1.606 MB / 1.041 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0335, allocations: 4 kB / 1.041 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.03362, allocations: 63.88 kB / 1.041 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.03405, allocations: 263.4 kB / 1.041 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.03407, allocations: 15.94 kB / 1.041 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.03748, allocations: 6.671 MB / 1.048 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.03748, allocations: 0 / 1.048 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.0384, allocations: 0.9855 MB / 1.049 GB, free: 9.262 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.03855, allocations: 119.7 kB / 1.049 GB, free: 9.145 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.03858, allocations: 19.92 kB / 1.049 GB, free: 9.125 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.03876, allocations: 27.97 kB / 1.049 GB, free: 9.098 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.03881, allocations: 43.86 kB / 1.049 GB, free: 9.055 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.03883, allocations: 16 kB / 1.049 GB, free: 9.039 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002387/0.03907, allocations: 391 kB / 1.049 GB, free: 8.66 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.03907, allocations: 4 kB / 1.049 GB, free: 8.656 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004193/0.03949, allocations: 220 kB / 1.05 GB, free: 8.441 MB / 1.01 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.001046/0.04054, allocations: 1.527 MB / 1.051 GB, free: 6.855 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.04157, allocations: 1.232 MB / 1.052 GB, free: 5.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.04157, allocations: 0 / 1.052 GB, free: 5.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.04216, allocations: 0.8542 MB / 1.053 GB, free: 4.664 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.04272, allocations: 225.1 kB / 1.053 GB, free: 4.453 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3621/0.4049, allocations: 6.362 MB / 1.06 GB, free: 94.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4051, allocations: 416.7 kB / 1.06 GB, free: 93.97 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002664/0.4054, allocations: 124.6 kB / 1.06 GB, free: 93.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4055, allocations: 248 kB / 1.06 GB, free: 93.96 MB / 1.01 GB Notification: Performance of SimCode: time 1.133e-06/0.4055, allocations: 2.781 kB / 1.06 GB, free: 93.96 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.4442, allocations: 19.32 MB / 1.079 GB, free: 91.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.608, allocations: 9.141 kB / 1.079 GB, free: 91.73 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.423926654271781]