Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00161/0.00161, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001377/0.001377, allocations: 213 kB / 23.04 MB, free: 5.07 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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 3.101/3.101, allocations: 0.5002 GB / 0.8061 GB, free: 26.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",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.001943/0.001943, allocations: 68.94 kB / 1.171 GB, free: 19.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 179 MB / 1.345 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05063/0.3877, allocations: 43.05 MB / 1.387 GB, free: 5.383 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.4154, allocations: 15.78 MB / 1.403 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005555/0.4209, allocations: 246.1 kB / 1.403 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.4334, allocations: 4.676 MB / 1.408 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008506/0.4419, allocations: 2.927 MB / 1.41 GB, free: 13.69 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008559/0.4504, allocations: 3.258 MB / 1.414 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01599/0.4664, allocations: 11.42 MB / 1.425 GB, free: 14.98 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.4783, allocations: 6.784 MB / 1.431 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009254/0.4875, allocations: 4.966 MB / 1.436 GB, free: 3.086 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.4984, allocations: 5.752 MB / 1.442 GB, free: 13.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002847/0.5012, allocations: 0.9492 MB / 1.443 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/0.5067, allocations: 2.068 MB / 1.445 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005603/0.5123, allocations: 3.796 MB / 1.449 GB, free: 6.492 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008034/0.5204, allocations: 4.291 MB / 1.453 GB, free: 2.184 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.5394, allocations: 14.32 MB / 1.467 GB, free: 3.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5394, allocations: 0 / 1.467 GB, free: 3.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5394, allocations: 3.938 kB / 1.467 GB, free: 3.816 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004409/0.5399, allocations: 4 kB / 1.467 GB, free: 3.812 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02213/0.562, allocations: 7.715 MB / 1.474 GB, free: 12.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.562, allocations: 8.031 kB / 1.474 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000206/0.5622, allocations: 168.3 kB / 1.474 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002757/0.565, allocations: 0.8994 MB / 1.475 GB, free: 10.94 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.5761, allocations: 1.554 MB / 1.477 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.5867, allocations: 4.374 MB / 1.481 GB, free: 4.922 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.5872, allocations: 464.5 kB / 1.482 GB, free: 4.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.5893, allocations: 0.5978 MB / 1.482 GB, free: 3.867 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02434/0.6137, allocations: 10.68 MB / 1.493 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002338/0.6139, allocations: 31.81 kB / 1.493 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/0.6152, allocations: 259.9 kB / 1.493 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.6182, allocations: 0.7729 MB / 1.494 GB, free: 7.746 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.6395, allocations: 8.568 MB / 1.502 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07912/0.7186, allocations: 46.24 MB / 1.547 GB, free: 13.14 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007073/0.7256, allocations: 3.989 MB / 1.551 GB, free: 9.141 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/0.7316, allocations: 3.373 MB / 1.554 GB, free: 5.762 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.7319, allocations: 34.78 kB / 1.554 GB, free: 5.727 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.732, allocations: 77.34 kB / 1.554 GB, free: 5.641 MB / 1.248 GB Notification: Performance of pre-optimization done (n=353): time 5.791e-06/0.732, allocations: 0 / 1.554 GB, free: 5.641 MB / 1.248 GB Notification: Performance of matching and sorting (n=578): time 1.165/1.897, allocations: 121.1 MB / 1.673 GB, free: 211.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.898, allocations: 107.9 kB / 1.673 GB, free: 211.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/1.901, allocations: 2.684 MB / 1.675 GB, free: 209 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001355/1.902, allocations: 125.7 kB / 1.675 GB, free: 208.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.904, allocations: 2.749 MB / 1.678 GB, free: 206.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/1.906, allocations: 2.048 MB / 1.68 GB, free: 204.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/1.907, allocations: 0.929 MB / 1.681 GB, free: 203.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/1.907, allocations: 305.1 kB / 1.681 GB, free: 203.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.912, allocations: 4.079 MB / 1.685 GB, free: 199.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/1.917, allocations: 5.015 MB / 1.69 GB, free: 193.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.928, allocations: 9.845 MB / 1.7 GB, free: 183.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/1.928, allocations: 11.94 kB / 1.7 GB, free: 183.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03384/1.962, allocations: 16.74 MB / 1.716 GB, free: 166.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/1.962, allocations: 17 kB / 1.716 GB, free: 166.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.962, allocations: 20 kB / 1.716 GB, free: 166.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02814/1.99, allocations: 9.089 MB / 1.725 GB, free: 157.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/1.992, allocations: 0.5265 MB / 1.726 GB, free: 157.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08727/2.08, allocations: 75.91 MB / 1.8 GB, free: 79.92 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/2.085, allocations: 283.8 kB / 1.8 GB, free: 79.64 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009903/2.086, allocations: 191.9 kB / 1.8 GB, free: 79.45 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004107/2.09, allocations: 2.422 MB / 1.803 GB, free: 77.02 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/2.091, allocations: 493 kB / 1.803 GB, free: 76.54 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03449/2.126, allocations: 16.54 MB / 1.819 GB, free: 59.84 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/2.126, allocations: 56 kB / 1.819 GB, free: 59.79 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002188/2.126, allocations: 72 kB / 1.819 GB, free: 59.72 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/2.126, allocations: 27.89 kB / 1.819 GB, free: 59.69 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04797/2.174, allocations: 25.37 MB / 1.844 GB, free: 34.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.116e-05/2.174, allocations: 4 kB / 1.844 GB, free: 34.09 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/2.176, allocations: 324.4 kB / 1.844 GB, free: 33.78 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02598/2.202, allocations: 8.272 MB / 1.853 GB, free: 25.46 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.203, allocations: 103.9 kB / 1.853 GB, free: 25.36 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1061/2.309, allocations: 72.79 MB / 1.924 GB, free: 15.32 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/2.309, allocations: 8 kB / 1.924 GB, free: 15.32 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04905/2.358, allocations: 21.31 MB / 1.945 GB, free: 9.641 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004277/2.362, allocations: 1.309 MB / 1.946 GB, free: 8.328 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/2.364, allocations: 108 kB / 1.946 GB, free: 8.223 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/2.368, allocations: 295.6 kB / 1.946 GB, free: 7.934 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002233/2.37, allocations: 0.5527 MB / 1.947 GB, free: 7.379 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000529/2.371, allocations: 148 kB / 1.947 GB, free: 7.234 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.00305/2.374, allocations: 1.776 MB / 1.949 GB, free: 5.469 MB / 1.373 GB Notification: Performance of sort global known variables: time 1.2e-07/2.374, allocations: 0 / 1.949 GB, free: 5.469 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.009155/2.383, allocations: 2.461 MB / 1.951 GB, free: 3.008 MB / 1.373 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04695/2.43, allocations: 22.01 MB / 1.973 GB, free: 12.62 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.02817/2.458, allocations: 13.73 MB / 1.986 GB, free: 14.68 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/2.458, allocations: 4 kB / 1.986 GB, free: 14.68 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.02015/2.478, allocations: 9.015 MB / 1.995 GB, free: 5.504 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007386/2.485, allocations: 1.396 MB / 1.996 GB, free: 4.16 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1467/2.632, allocations: 70 MB / 2.064 GB, free: 12.49 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007064/2.639, allocations: 4.89 MB / 2.069 GB, free: 7.555 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002594/2.642, allocations: 0.7448 MB / 2.07 GB, free: 6.805 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00372/2.645, allocations: 2.612 MB / 2.073 GB, free: 4.191 MB / 1.498 GB Notification: Performance of SimCode: time 1.683e-06/2.646, allocations: 4 kB / 2.073 GB, free: 4.188 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/3.691, allocations: 204.1 MB / 2.272 GB, free: 0.5422 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.32/27.01, allocations: 6.062 kB / 2.272 GB, free: 0.5422 GB / 1.654 GB " [Timeout remaining time 273] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 35.40899890300352]