Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001821/0.001821, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002212/0.002212, allocations: 217.9 kB / 22.26 MB, free: 5.113 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.699/2.699, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 65.34 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2901, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0136/0.3037, allocations: 10.51 MB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006251/0.3099, allocations: 3.31 MB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.3107, allocations: 47.69 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.3125, allocations: 0.6218 MB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.3144, allocations: 0.7818 MB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3162, allocations: 0.7572 MB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003588/0.3198, allocations: 2.996 MB / 1.302 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.3222, allocations: 1.419 MB / 1.303 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.3241, allocations: 1.285 MB / 1.305 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.3267, allocations: 1.698 MB / 1.306 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.3273, allocations: 236 kB / 1.306 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.3286, allocations: 0.5072 MB / 1.307 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.33, allocations: 1.103 MB / 1.308 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.3318, allocations: 1.116 MB / 1.309 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.336, allocations: 3.687 MB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.336, allocations: 4 kB / 1.313 GB, free: 13.53 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.336, allocations: 0 / 1.313 GB, free: 13.53 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001045/0.3361, allocations: 4 kB / 1.313 GB, free: 13.53 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005438/0.3416, allocations: 2.111 MB / 1.315 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3416, allocations: 12.03 kB / 1.315 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005944/0.3422, allocations: 265.2 kB / 1.315 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008335/0.3505, allocations: 1.326 MB / 1.316 GB, free: 9.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.3536, allocations: 1.265 MB / 1.318 GB, free: 8.473 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3537, allocations: 111.4 kB / 1.318 GB, free: 8.363 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/0.3543, allocations: 152.3 kB / 1.318 GB, free: 8.215 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.3604, allocations: 3.429 MB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.3605, allocations: 11.92 kB / 1.321 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.3608, allocations: 67.95 kB / 1.321 GB, free: 4.609 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002687/0.361, allocations: 203.1 kB / 1.321 GB, free: 4.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.3662, allocations: 3.124 MB / 1.325 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.3855, allocations: 13.45 MB / 1.338 GB, free: 2.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.3881, allocations: 1.624 MB / 1.339 GB, free: 1.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.3901, allocations: 1.339 MB / 1.341 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.3902, allocations: 17 kB / 1.341 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.3903, allocations: 39.56 kB / 1.341 GB, free: 15.92 MB / 1.045 GB Notification: Performance of pre-optimization done (n=104): time 2.525e-06/0.3903, allocations: 0 / 1.341 GB, free: 15.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=183): time 0.1388/0.5291, allocations: 36.18 MB / 1.376 GB, free: 11.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.5291, allocations: 81.34 kB / 1.376 GB, free: 11.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.5307, allocations: 1.05 MB / 1.377 GB, free: 10.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/0.531, allocations: 57.7 kB / 1.377 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.5316, allocations: 0.8054 MB / 1.378 GB, free: 9.641 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007287/0.5323, allocations: 0.6546 MB / 1.379 GB, free: 8.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008205/0.5332, allocations: 363.5 kB / 1.379 GB, free: 8.621 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5333, allocations: 305.1 kB / 1.379 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/0.5362, allocations: 1.928 MB / 1.381 GB, free: 6.391 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/0.5394, allocations: 2.293 MB / 1.383 GB, free: 3.973 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/0.5456, allocations: 4.391 MB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5456, allocations: 4 kB / 1.388 GB, free: 15.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02061/0.5662, allocations: 8.873 MB / 1.396 GB, free: 6.555 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.5662, allocations: 12 kB / 1.396 GB, free: 6.543 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.5663, allocations: 12 kB / 1.396 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/0.5832, allocations: 4.982 MB / 1.401 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.5841, allocations: 191.7 kB / 1.401 GB, free: 1.348 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06175/0.6458, allocations: 38.52 MB / 1.439 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.648, allocations: 103.9 kB / 1.439 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/0.6486, allocations: 72 kB / 1.439 GB, free: 10.17 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.6505, allocations: 0.8094 MB / 1.44 GB, free: 9.352 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.651, allocations: 151.1 kB / 1.44 GB, free: 9.203 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/0.6718, allocations: 8.738 MB / 1.449 GB, free: 436 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.6718, allocations: 16 kB / 1.449 GB, free: 420 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-05/0.6719, allocations: 28 kB / 1.449 GB, free: 392 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.6719, allocations: 7.969 kB / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02883/0.7007, allocations: 13.25 MB / 1.462 GB, free: 2.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.7008, allocations: 4.469 kB / 1.462 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.7013, allocations: 127.8 kB / 1.462 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/0.7181, allocations: 4.84 MB / 1.466 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/0.7185, allocations: 36 kB / 1.466 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06019/0.7787, allocations: 36.44 MB / 1.502 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.7787, allocations: 7.938 kB / 1.502 GB, free: 9.027 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/0.799, allocations: 8.448 MB / 1.51 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/0.8008, allocations: 0.5847 MB / 1.511 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004574/0.8013, allocations: 43.94 kB / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.8026, allocations: 87.89 kB / 1.511 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007756/0.8034, allocations: 173.5 kB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.8035, allocations: 44 kB / 1.511 GB, free: 15.56 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001128/0.8047, allocations: 0.7382 MB / 1.512 GB, free: 14.81 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8047, allocations: 4 kB / 1.512 GB, free: 14.81 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003238/0.8079, allocations: 1.004 MB / 1.513 GB, free: 13.8 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0202/0.8281, allocations: 9.035 MB / 1.522 GB, free: 4.676 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.8388, allocations: 5.748 MB / 1.527 GB, free: 14.88 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8388, allocations: 0 / 1.527 GB, free: 14.88 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008546/0.8473, allocations: 3.778 MB / 1.531 GB, free: 11.05 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.8493, allocations: 240.8 kB / 1.531 GB, free: 10.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06383/0.9132, allocations: 30.83 MB / 1.561 GB, free: 11.46 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.9154, allocations: 1.855 MB / 1.563 GB, free: 9.566 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000907/0.9163, allocations: 359.4 kB / 1.564 GB, free: 9.211 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008783/0.9172, allocations: 0.6125 MB / 1.564 GB, free: 8.598 MB / 1.264 GB Notification: Performance of SimCode: time 7.22e-07/0.9172, allocations: 0 / 1.564 GB, free: 8.598 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6951/1.612, allocations: 78.74 MB / 1.641 GB, free: 293.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/15.4, allocations: 8.297 kB / 1.641 GB, free: 293.4 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 21.989135385956615]