Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001254/0.001254, allocations: 107 kB / 16.4 MB, free: 6.508 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.001346/0.001346, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.415/1.415, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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.834/2.834, allocations: 489 MB / 0.7678 GB, free: 12 kB / 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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 1.101 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8718, allocations: 163.8 MB / 1.261 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01893/0.8908, allocations: 14.06 MB / 1.275 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9069, allocations: 9.387 MB / 1.284 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.9086, allocations: 55.69 kB / 1.284 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.9136, allocations: 1.679 MB / 1.286 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.9185, allocations: 1.529 MB / 1.287 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.921, allocations: 0.7625 MB / 1.288 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004195/0.9252, allocations: 2.512 MB / 1.29 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.9277, allocations: 1.415 MB / 1.292 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.9299, allocations: 1.047 MB / 1.293 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.9323, allocations: 1.136 MB / 1.294 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.9329, allocations: 164 kB / 1.294 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.935, allocations: 0.7955 MB / 1.295 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009864/0.936, allocations: 0.6076 MB / 1.295 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.9379, allocations: 0.9523 MB / 1.296 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.9426, allocations: 2.763 MB / 1.299 GB, free: 132 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9426, allocations: 0 / 1.299 GB, free: 132 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9426, allocations: 0 / 1.299 GB, free: 132 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.008e-05/0.9427, allocations: 0 / 1.299 GB, free: 132 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005383/0.9481, allocations: 2.199 MB / 1.301 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9482, allocations: 12.03 kB / 1.301 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003842/0.9486, allocations: 194.4 kB / 1.301 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.9609, allocations: 2.098 MB / 1.303 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/0.9647, allocations: 1.303 MB / 1.305 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.9649, allocations: 86.73 kB / 1.305 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.9655, allocations: 119.9 kB / 1.305 GB, free: 9.992 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.9727, allocations: 2.675 MB / 1.307 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.769e-05/0.9728, allocations: 7.938 kB / 1.307 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.973, allocations: 59.98 kB / 1.308 GB, free: 7.102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006651/0.9737, allocations: 178.1 kB / 1.308 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/0.9821, allocations: 2.791 MB / 1.31 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/1, allocations: 10.48 MB / 1.321 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/1.008, allocations: 2.522 MB / 1.323 GB, free: 6.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/1.012, allocations: 1.286 MB / 1.324 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/1.012, allocations: 16.98 kB / 1.324 GB, free: 5.176 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/1.012, allocations: 43.56 kB / 1.324 GB, free: 5.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.776e-06/1.012, allocations: 0 / 1.324 GB, free: 5.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.05114/1.063, allocations: 13.4 MB / 1.338 GB, free: 7.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.063, allocations: 68.66 kB / 1.338 GB, free: 7.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.065, allocations: 1.117 MB / 1.339 GB, free: 6.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002064/1.065, allocations: 45.7 kB / 1.339 GB, free: 6.246 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/1.066, allocations: 0.7326 MB / 1.339 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006405/1.067, allocations: 475.9 kB / 1.34 GB, free: 5.039 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006606/1.067, allocations: 263.4 kB / 1.34 GB, free: 4.773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.068, allocations: 361.9 kB / 1.34 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003654/1.071, allocations: 1.343 MB / 1.342 GB, free: 3.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/1.075, allocations: 1.6 MB / 1.343 GB, free: 1.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007801/1.083, allocations: 2.995 MB / 1.346 GB, free: 14.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/1.083, allocations: 0 / 1.346 GB, free: 14.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01294/1.096, allocations: 4.451 MB / 1.351 GB, free: 9.773 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.096, allocations: 8 kB / 1.351 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.096, allocations: 12.03 kB / 1.351 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/1.102, allocations: 1.427 MB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.104, allocations: 439.2 kB / 1.352 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03103/1.135, allocations: 26.69 MB / 1.379 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.138, allocations: 307.5 kB / 1.379 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.138, allocations: 63.97 kB / 1.379 GB, free: 10.97 MB / 1.092 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009685/1.139, allocations: 433.5 kB / 1.379 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/1.139, allocations: 170.9 kB / 1.379 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.152, allocations: 4.457 MB / 1.384 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.152, allocations: 15.94 kB / 1.384 GB, free: 5.844 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.373e-05/1.152, allocations: 16 kB / 1.384 GB, free: 5.828 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.152, allocations: 3.984 kB / 1.384 GB, free: 5.824 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.169, allocations: 6.764 MB / 1.39 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.169, allocations: 4.344 kB / 1.39 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/1.171, allocations: 383.3 kB / 1.391 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/1.176, allocations: 1.315 MB / 1.392 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.177, allocations: 43.97 kB / 1.392 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0285/1.205, allocations: 25.51 MB / 1.417 GB, free: 1.781 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.205, allocations: 0 / 1.417 GB, free: 1.781 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.217, allocations: 4.214 MB / 1.421 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.218, allocations: 467.8 kB / 1.422 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.219, allocations: 24 kB / 1.422 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.221, allocations: 307.5 kB / 1.422 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/1.222, allocations: 128.7 kB / 1.422 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/1.222, allocations: 47.97 kB / 1.422 GB, free: 12.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001236/1.223, allocations: 0.7564 MB / 1.423 GB, free: 11.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.223, allocations: 3.938 kB / 1.423 GB, free: 11.74 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002189/1.225, allocations: 0.5703 MB / 1.423 GB, free: 11.17 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/1.238, allocations: 4.805 MB / 1.428 GB, free: 6.266 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.25, allocations: 5.142 MB / 1.433 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.25, allocations: 0 / 1.433 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007622/1.257, allocations: 3.495 MB / 1.437 GB, free: 13.28 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.26, allocations: 0.5509 MB / 1.437 GB, free: 12.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04595/1.306, allocations: 19.42 MB / 1.456 GB, free: 8.879 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.308, allocations: 1.481 MB / 1.457 GB, free: 7.363 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001551/1.309, allocations: 421.6 kB / 1.458 GB, free: 6.945 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.31, allocations: 0.6359 MB / 1.458 GB, free: 6.309 MB / 1.17 GB Notification: Performance of SimCode: time 1.232e-06/1.31, allocations: 0 / 1.458 GB, free: 6.309 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.44, allocations: 51.67 MB / 1.509 GB, free: 3.285 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.83/20.27, allocations: 7.812 kB / 1.509 GB, free: 3.277 MB / 1.217 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 26.55961276916787]