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.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.001281/0.001281, allocations: 106.4 kB / 16.45 MB, free: 6.504 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.001341/0.001341, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.94 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 3.111/3.111, allocations: 497.2 MB / 0.7811 GB, free: 33.63 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_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 0.001957/0.001957, allocations: 74.22 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 173.9 MB / 1.304 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009258/0.297, allocations: 6.895 MB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.302, allocations: 3.114 MB / 1.314 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.3023, allocations: 23.88 kB / 1.314 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.3048, allocations: 0.9686 MB / 1.315 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3058, allocations: 0.5206 MB / 1.315 GB, free: 5.961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.3068, allocations: 446.7 kB / 1.316 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.3081, allocations: 1.232 MB / 1.317 GB, free: 4.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008307/0.309, allocations: 0.5299 MB / 1.317 GB, free: 3.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.3096, allocations: 486.2 kB / 1.318 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.3103, allocations: 0.5448 MB / 1.318 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3104, allocations: 72 kB / 1.318 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006499/0.3111, allocations: 387.2 kB / 1.319 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.3114, allocations: 315.1 kB / 1.319 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.3119, allocations: 457.7 kB / 1.32 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3133, allocations: 1.222 MB / 1.321 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3133, allocations: 0 / 1.321 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3133, allocations: 0 / 1.321 GB, free: 304 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.3133, allocations: 0 / 1.321 GB, free: 304 kB / 1.014 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.002/0.3153, allocations: 1.199 MB / 1.322 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3153, allocations: 8.625 kB / 1.322 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.3155, allocations: 122.7 kB / 1.322 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.317, allocations: 240.1 kB / 1.322 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.3181, allocations: 0.612 MB / 1.323 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.3181, allocations: 45.67 kB / 1.323 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3182, allocations: 64.36 kB / 1.323 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3198, allocations: 1.085 MB / 1.324 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.3198, allocations: 15.91 kB / 1.324 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.3199, allocations: 31.98 kB / 1.324 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.32, allocations: 81.27 kB / 1.324 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3213, allocations: 0.7543 MB / 1.325 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005821/0.3271, allocations: 5.886 MB / 1.331 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3281, allocations: 0.5127 MB / 1.331 GB, free: 5.004 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.3286, allocations: 290 kB / 1.331 GB, free: 4.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3286, allocations: 4.438 kB / 1.331 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3286, allocations: 39 kB / 1.331 GB, free: 4.668 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.3286, allocations: 0 / 1.331 GB, free: 4.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.003934/0.3326, allocations: 1.991 MB / 1.333 GB, free: 2.582 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3326, allocations: 55.84 kB / 1.333 GB, free: 2.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.3333, allocations: 0.5588 MB / 1.334 GB, free: 1.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.3333, allocations: 37.64 kB / 1.334 GB, free: 1.902 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.3336, allocations: 428 kB / 1.334 GB, free: 1.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.3338, allocations: 178.5 kB / 1.335 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.334, allocations: 134.5 kB / 1.335 GB, free: 1.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.3342, allocations: 382.7 kB / 1.335 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.3346, allocations: 269.8 kB / 1.335 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.3352, allocations: 496.9 kB / 1.336 GB, free: 15.94 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3363, allocations: 0.8094 MB / 1.337 GB, free: 15.03 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3363, allocations: 4 kB / 1.337 GB, free: 15.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001946/0.3383, allocations: 1.087 MB / 1.338 GB, free: 13.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3383, allocations: 9.719 kB / 1.338 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3383, allocations: 8 kB / 1.338 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008605/0.3392, allocations: 279.8 kB / 1.338 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.3397, allocations: 123.8 kB / 1.338 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.3469, allocations: 7.131 MB / 1.345 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.3475, allocations: 39.95 kB / 1.345 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.3475, allocations: 32 kB / 1.345 GB, free: 5.73 MB / 1.045 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.0003753/0.3479, allocations: 257.5 kB / 1.345 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.348, allocations: 75.53 kB / 1.345 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3497, allocations: 0.8808 MB / 1.346 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3497, allocations: 7.938 kB / 1.346 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3497, allocations: 4 kB / 1.346 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3497, allocations: 0 / 1.346 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.3525, allocations: 1.709 MB / 1.348 GB, free: 2.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3525, allocations: 7.938 kB / 1.348 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.3527, allocations: 59.95 kB / 1.348 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007386/0.3535, allocations: 279.6 kB / 1.348 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3535, allocations: 12 kB / 1.348 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.3606, allocations: 7.12 MB / 1.355 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3606, allocations: 4.031 kB / 1.355 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.3622, allocations: 0.9838 MB / 1.356 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.3626, allocations: 192.6 kB / 1.356 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.3627, allocations: 19.88 kB / 1.356 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.363, allocations: 23.97 kB / 1.356 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3631, allocations: 47.88 kB / 1.356 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3632, allocations: 19.94 kB / 1.357 GB, free: 9.285 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004617/0.3636, allocations: 391.1 kB / 1.357 GB, free: 8.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3636, allocations: 0 / 1.357 GB, free: 8.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007899/0.3644, allocations: 224 kB / 1.357 GB, free: 8.691 MB / 1.061 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.001911/0.3663, allocations: 1.537 MB / 1.359 GB, free: 7.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.3683, allocations: 1.24 MB / 1.36 GB, free: 5.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3683, allocations: 4.125 kB / 1.36 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3696, allocations: 0.862 MB / 1.361 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.3706, allocations: 229.6 kB / 1.361 GB, free: 4.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.3796, allocations: 6.391 MB / 1.367 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.3803, allocations: 1.009 MB / 1.368 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003999/0.3807, allocations: 126 kB / 1.368 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.381, allocations: 247.4 kB / 1.368 GB, free: 12.54 MB / 1.076 GB Notification: Performance of SimCode: time 6.62e-07/0.381, allocations: 0 / 1.368 GB, free: 12.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.4371, allocations: 17.63 MB / 1.386 GB, free: 11.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.29, allocations: 4.438 kB / 1.386 GB, free: 11.24 MB / 1.092 GB " [Timeout remaining time 289] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.79861482884735]