Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0007526/0.0007526, 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.0007444/0.0007444, allocations: 165.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.8313/0.8313, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.69 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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.14e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007024/0.007046, allocations: 5.282 MB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003631/0.01068, allocations: 2.611 MB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.01104, allocations: 31.69 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.01209, allocations: 0.6767 MB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007718/0.01287, allocations: 441.2 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.01364, allocations: 417.4 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.01488, allocations: 0.9824 MB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008146/0.01569, allocations: 382.4 kB / 1.01 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.01631, allocations: 0.5182 MB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.01667, allocations: 370.9 kB / 1.011 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.01672, allocations: 48 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.01716, allocations: 335 kB / 1.011 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.01734, allocations: 267.2 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.0175, allocations: 235.4 kB / 1.012 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.01833, allocations: 1.001 MB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01833, allocations: 0 / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01834, allocations: 0 / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.01835, allocations: 0 / 1.013 GB, free: 15.92 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001087/0.01943, allocations: 0.9246 MB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.01947, allocations: 8.75 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.01955, allocations: 98.69 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.0203, allocations: 200.3 kB / 1.014 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.02085, allocations: 468.2 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.02088, allocations: 41.3 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.02101, allocations: 56.55 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.02182, allocations: 0.9712 MB / 1.016 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.02183, allocations: 16.08 kB / 1.016 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.02187, allocations: 31.92 kB / 1.016 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.02198, allocations: 64.94 kB / 1.016 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.02256, allocations: 0.5658 MB / 1.016 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.02535, allocations: 3.557 MB / 1.02 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.02568, allocations: 287.1 kB / 1.02 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.02588, allocations: 213.3 kB / 1.02 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.0259, allocations: 4.281 kB / 1.02 GB, free: 8.109 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.02593, allocations: 42.83 kB / 1.02 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.02593, allocations: 0 / 1.02 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.003293/0.02923, allocations: 2.335 MB / 1.023 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.02926, allocations: 55.41 kB / 1.023 GB, free: 5.605 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.02959, allocations: 477.9 kB / 1.023 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.02962, allocations: 33.64 kB / 1.023 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.02978, allocations: 356.5 kB / 1.023 GB, free: 4.738 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.02985, allocations: 150.8 kB / 1.024 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.02995, allocations: 102.3 kB / 1.024 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.03006, allocations: 370.7 kB / 1.024 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.03055, allocations: 233.2 kB / 1.024 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.03084, allocations: 415.3 kB / 1.025 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.0314, allocations: 0.674 MB / 1.025 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.03141, allocations: 4 kB / 1.025 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009969/0.0324, allocations: 0.918 MB / 1.026 GB, free: 1.719 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.03242, allocations: 8 kB / 1.026 GB, free: 1.711 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.03243, allocations: 4 kB / 1.026 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.03287, allocations: 222.4 kB / 1.026 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.03315, allocations: 115.8 kB / 1.027 GB, free: 1.367 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.03656, allocations: 4.996 MB / 1.031 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.0369, allocations: 31.97 kB / 1.031 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.03693, allocations: 24 kB / 1.031 GB, free: 11.98 MB / 0.9948 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.0002488/0.03717, allocations: 217.6 kB / 1.032 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.03724, allocations: 59.62 kB / 1.032 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008897/0.03813, allocations: 0.7734 MB / 1.032 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.03813, allocations: 7.938 kB / 1.032 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.03814, allocations: 4 kB / 1.032 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.03814, allocations: 3.984 kB / 1.032 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.03962, allocations: 1.392 MB / 1.034 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.03962, allocations: 8.406 kB / 1.034 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.03983, allocations: 75.88 kB / 1.034 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.04017, allocations: 202.4 kB / 1.034 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.04019, allocations: 8 kB / 1.034 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.04323, allocations: 4.94 MB / 1.039 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.04324, allocations: 0 / 1.039 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.04433, allocations: 1.116 MB / 1.04 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.0445, allocations: 99.56 kB / 1.04 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.04454, allocations: 12.12 kB / 1.04 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.04471, allocations: 27.91 kB / 1.04 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.04479, allocations: 43.88 kB / 1.04 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.04481, allocations: 12 kB / 1.04 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002511/0.04506, allocations: 314.9 kB / 1.041 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.04506, allocations: 0 / 1.041 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004764/0.04554, allocations: 168 kB / 1.041 GB, free: 2.004 MB / 0.9948 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.00125/0.04679, allocations: 1.686 MB / 1.042 GB, free: 268 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.04783, allocations: 0.9656 MB / 1.043 GB, free: 15.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.04783, allocations: 0 / 1.043 GB, free: 15.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.04834, allocations: 0.6681 MB / 1.044 GB, free: 14.55 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.04894, allocations: 183.5 kB / 1.044 GB, free: 14.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.05423, allocations: 5.605 MB / 1.05 GB, free: 8.488 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.05447, allocations: 354.3 kB / 1.05 GB, free: 8.113 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.05473, allocations: 113 kB / 1.05 GB, free: 8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.0549, allocations: 212.4 kB / 1.05 GB, free: 7.793 MB / 1.01 GB Notification: Performance of SimCode: time 1.242e-06/0.05491, allocations: 0 / 1.05 GB, free: 7.793 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3961/0.4511, allocations: 15.81 MB / 1.066 GB, free: 94.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.435, allocations: 4.109 kB / 1.066 GB, free: 94.77 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.37732633203268]