Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0007672/0.0007672, 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.0007516/0.0007516, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8122/0.8122, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.689/1.689, allocations: 389 MB / 0.633 GB, free: 12.67 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.394e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007162/0.007176, allocations: 6.461 MB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.01018, allocations: 3.024 MB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.01039, allocations: 35.69 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.01148, allocations: 0.9567 MB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.01222, allocations: 0.5395 MB / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.0127, allocations: 453.8 kB / 1.011 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.01343, allocations: 1.263 MB / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.01393, allocations: 0.545 MB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.01441, allocations: 0.6624 MB / 1.013 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.01478, allocations: 474.7 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.01484, allocations: 64 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.01514, allocations: 347.1 kB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.01531, allocations: 339 kB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.0155, allocations: 315.2 kB / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.01623, allocations: 1.246 MB / 1.016 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01623, allocations: 0 / 1.016 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.001e-06/0.01623, allocations: 0 / 1.016 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.01624, allocations: 3.938 kB / 1.016 GB, free: 12.73 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.001016/0.01726, allocations: 1.108 MB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.01729, allocations: 12.75 kB / 1.017 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.802e-05/0.01738, allocations: 118.7 kB / 1.017 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007487/0.01813, allocations: 252 kB / 1.017 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.01868, allocations: 0.5352 MB / 1.018 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.0187, allocations: 45.69 kB / 1.018 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.01877, allocations: 64.36 kB / 1.018 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.01972, allocations: 1.332 MB / 1.019 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.01974, allocations: 12.12 kB / 1.019 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.01978, allocations: 32.12 kB / 1.019 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.555e-05/0.01987, allocations: 85.25 kB / 1.019 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.02059, allocations: 0.7542 MB / 1.02 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.02335, allocations: 4.628 MB / 1.025 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.02395, allocations: 0.5096 MB / 1.025 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.02421, allocations: 286.2 kB / 1.025 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.02424, allocations: 4.5 kB / 1.025 GB, free: 2.547 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.02426, allocations: 43.06 kB / 1.026 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.02426, allocations: 0 / 1.026 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.00211/0.02637, allocations: 1.685 MB / 1.027 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.02639, allocations: 59.84 kB / 1.027 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.02683, allocations: 0.5781 MB / 1.028 GB, free: 136 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.02686, allocations: 37.7 kB / 1.028 GB, free: 92 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.02703, allocations: 424.1 kB / 1.028 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.02711, allocations: 182.4 kB / 1.028 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.02723, allocations: 122.6 kB / 1.029 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.02732, allocations: 378.8 kB / 1.029 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.02758, allocations: 269.9 kB / 1.029 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.02804, allocations: 0.4891 MB / 1.03 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.02869, allocations: 0.8086 MB / 1.03 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02869, allocations: 8 kB / 1.03 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001059/0.02975, allocations: 1.074 MB / 1.031 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.02977, allocations: 15.88 kB / 1.031 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.02978, allocations: 4 kB / 1.031 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.03023, allocations: 276 kB / 1.032 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.03047, allocations: 123.8 kB / 1.032 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.03428, allocations: 6.686 MB / 1.038 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.03452, allocations: 36.16 kB / 1.038 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.03454, allocations: 28 kB / 1.038 GB, free: 4.508 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.0001998/0.03474, allocations: 249.6 kB / 1.039 GB, free: 4.254 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.03481, allocations: 79.52 kB / 1.039 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.03592, allocations: 0.8864 MB / 1.04 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.03592, allocations: 4 kB / 1.04 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.03592, allocations: 7.938 kB / 1.04 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.03593, allocations: 3.984 kB / 1.04 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.03739, allocations: 1.61 MB / 1.041 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.0374, allocations: 3.984 kB / 1.041 GB, free: 1.551 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.03752, allocations: 59.89 kB / 1.041 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/0.0379, allocations: 267.6 kB / 1.042 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.03793, allocations: 11.94 kB / 1.042 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.04154, allocations: 6.675 MB / 1.048 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.04154, allocations: 4.031 kB / 1.048 GB, free: 10.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.0424, allocations: 0.9777 MB / 1.049 GB, free: 9.043 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.04255, allocations: 123.4 kB / 1.049 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.04259, allocations: 8 kB / 1.049 GB, free: 8.914 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.04276, allocations: 28.16 kB / 1.049 GB, free: 8.887 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.04283, allocations: 51.8 kB / 1.049 GB, free: 8.836 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.04285, allocations: 19.98 kB / 1.049 GB, free: 8.816 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002602/0.04311, allocations: 387.1 kB / 1.05 GB, free: 8.445 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.04311, allocations: 0 / 1.05 GB, free: 8.445 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004405/0.04355, allocations: 224 kB / 1.05 GB, free: 8.227 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.001059/0.0446, allocations: 1.538 MB / 1.051 GB, free: 6.633 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.04568, allocations: 1.232 MB / 1.053 GB, free: 5.348 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.04568, allocations: 0 / 1.053 GB, free: 5.348 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.04652, allocations: 0.8619 MB / 1.053 GB, free: 4.434 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.04708, allocations: 224.6 kB / 1.054 GB, free: 4.219 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3459/0.393, allocations: 6.394 MB / 1.06 GB, free: 94.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3932, allocations: 413.5 kB / 1.06 GB, free: 93.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003105/0.3936, allocations: 130.2 kB / 1.06 GB, free: 93.97 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3938, allocations: 250.7 kB / 1.061 GB, free: 93.97 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.3938, allocations: 0 / 1.061 GB, free: 93.97 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.4295, allocations: 19.44 MB / 1.08 GB, free: 91.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.632, allocations: 5.141 kB / 1.08 GB, free: 91.74 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.421443367376924]