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.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.001437/0.001437, allocations: 101.4 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.001365/0.001365, allocations: 188.6 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.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.002119/0.002119, allocations: 67.89 kB / 1.134 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8434, allocations: 173.9 MB / 1.304 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008692/0.8521, allocations: 5.621 MB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.8575, allocations: 2.682 MB / 1.312 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006747/0.8582, allocations: 22.12 kB / 1.312 GB, free: 9.984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.8605, allocations: 0.6876 MB / 1.313 GB, free: 9.57 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.862, allocations: 425.9 kB / 1.313 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.8633, allocations: 415 kB / 1.314 GB, free: 9.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.8649, allocations: 0.9581 MB / 1.315 GB, free: 8.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.8656, allocations: 377.1 kB / 1.315 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.8664, allocations: 376.1 kB / 1.315 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008576/0.8673, allocations: 421.7 kB / 1.316 GB, free: 7.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.8674, allocations: 56.56 kB / 1.316 GB, free: 7.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.8684, allocations: 379.6 kB / 1.316 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.8688, allocations: 254.7 kB / 1.316 GB, free: 7.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006776/0.8695, allocations: 342.3 kB / 1.317 GB, free: 7.211 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.8712, allocations: 0.9812 MB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8712, allocations: 1.344 kB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8712, allocations: 0 / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.483e-05/0.8713, allocations: 0 / 1.318 GB, free: 6.551 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002482/0.8738, allocations: 1.001 MB / 1.319 GB, free: 5.738 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8738, allocations: 10.47 kB / 1.319 GB, free: 5.738 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.874, allocations: 102.8 kB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.8756, allocations: 201.2 kB / 1.319 GB, free: 5.555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.8766, allocations: 0.5215 MB / 1.319 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.8767, allocations: 41.7 kB / 1.319 GB, free: 5.105 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.8768, allocations: 47 kB / 1.319 GB, free: 5.094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.8781, allocations: 0.8317 MB / 1.32 GB, free: 4.492 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.8782, allocations: 6.672 kB / 1.32 GB, free: 4.488 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.8782, allocations: 26.86 kB / 1.32 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.8784, allocations: 74 kB / 1.32 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009593/0.8794, allocations: 0.5685 MB / 1.321 GB, free: 4.156 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005258/0.8847, allocations: 4.574 MB / 1.325 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.8852, allocations: 282.6 kB / 1.326 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.8855, allocations: 214.5 kB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.8855, allocations: 3.5 kB / 1.326 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.8856, allocations: 37.19 kB / 1.326 GB, free: 15.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.8856, allocations: 3.938 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.005915/0.8915, allocations: 2.626 MB / 1.328 GB, free: 13.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.8915, allocations: 64.14 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.8921, allocations: 472.6 kB / 1.329 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.8921, allocations: 32.55 kB / 1.329 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.8924, allocations: 347.9 kB / 1.329 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.8925, allocations: 150.3 kB / 1.329 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.8927, allocations: 105.9 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.8929, allocations: 363.7 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.8932, allocations: 234.6 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.8937, allocations: 411.5 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.8947, allocations: 0.6765 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8947, allocations: 1.062 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00184/0.8965, allocations: 0.9145 MB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8965, allocations: 12.91 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8965, allocations: 6.281 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008247/0.8974, allocations: 216.9 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.8979, allocations: 116.9 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.9036, allocations: 5.346 MB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.9042, allocations: 31.28 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.9042, allocations: 21.97 kB / 1.338 GB, free: 5.992 MB / 1.029 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.0003597/0.9046, allocations: 228.8 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.9047, allocations: 67.56 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.9063, allocations: 0.7627 MB / 1.339 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.9063, allocations: 8.281 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9063, allocations: 2.875 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9063, allocations: 0 / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.909, allocations: 1.488 MB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.909, allocations: 1.062 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.9094, allocations: 69.72 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/0.9101, allocations: 210.2 kB / 1.34 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.9101, allocations: 9.188 kB / 1.34 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.9155, allocations: 5.273 MB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9155, allocations: 6.406 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.9175, allocations: 1.13 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.9178, allocations: 182 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.9179, allocations: 8.812 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.9182, allocations: 31.47 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.9183, allocations: 31.48 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.9184, allocations: 14.34 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003863/0.9188, allocations: 312.2 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.9188, allocations: 5.031 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007314/0.9195, allocations: 166.4 kB / 1.347 GB, free: 14.02 MB / 1.045 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.00222/0.9217, allocations: 1.704 MB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.9234, allocations: 0.9659 MB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9234, allocations: 1.438 kB / 1.35 GB, free: 12.08 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.9244, allocations: 0.6659 MB / 1.351 GB, free: 11.56 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.9253, allocations: 180 kB / 1.351 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008427/0.9337, allocations: 5.647 MB / 1.356 GB, free: 7.531 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.9344, allocations: 0.9495 MB / 1.357 GB, free: 6.707 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.9348, allocations: 106.8 kB / 1.357 GB, free: 6.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.9351, allocations: 213.5 kB / 1.358 GB, free: 6.48 MB / 1.045 GB Notification: Performance of SimCode: time 6.91e-07/0.9351, allocations: 0 / 1.358 GB, free: 6.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/0.9878, allocations: 14.32 MB / 1.372 GB, free: 13.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.29, allocations: 4.062 kB / 1.372 GB, free: 13.49 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.43323037493974]