Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001307/0.001307, allocations: 104.8 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.001306/0.001306, allocations: 187.7 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.503/1.503, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 443.5 MB / 0.7287 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 68.12 kB / 1.056 GB, free: 2.531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 160.7 MB / 1.213 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.028/0.3714, allocations: 20.58 MB / 1.233 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3852, allocations: 6.527 MB / 1.239 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.3877, allocations: 87.56 kB / 1.239 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007054/0.3947, allocations: 2.278 MB / 1.242 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.3991, allocations: 1.236 MB / 1.243 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.4033, allocations: 1.286 MB / 1.244 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007935/0.4112, allocations: 4.854 MB / 1.249 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008088/0.4193, allocations: 4.229 MB / 1.253 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.4235, allocations: 2.123 MB / 1.255 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.4281, allocations: 2.477 MB / 1.258 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.4292, allocations: 428 kB / 1.258 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.432, allocations: 1.022 MB / 1.259 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.4344, allocations: 1.711 MB / 1.261 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.7209/1.155, allocations: 1.906 MB / 1.262 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007883/1.163, allocations: 6.539 MB / 1.269 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.163, allocations: 0.5156 kB / 1.269 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.163, allocations: 0 / 1.269 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002061/1.163, allocations: 3.938 kB / 1.269 GB, free: 17.98 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00815/1.172, allocations: 3.532 MB / 1.272 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.172, allocations: 11.06 kB / 1.272 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007051/1.172, allocations: 459.1 kB / 1.273 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/1.176, allocations: 0.6499 MB / 1.273 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/1.181, allocations: 2.053 MB / 1.275 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/1.182, allocations: 223.3 kB / 1.276 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009773/1.183, allocations: 297.8 kB / 1.276 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.196, allocations: 4.888 MB / 1.281 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/1.196, allocations: 13.14 kB / 1.281 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008669/1.197, allocations: 130.3 kB / 1.281 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008048/1.198, allocations: 229.7 kB / 1.281 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/1.208, allocations: 3.747 MB / 1.285 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/1.239, allocations: 21.44 MB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/1.242, allocations: 1.237 MB / 1.307 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/1.243, allocations: 0.9886 MB / 1.308 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/1.243, allocations: 16.09 kB / 1.308 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/1.243, allocations: 48.17 kB / 1.308 GB, free: 14.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 4.659e-06/1.243, allocations: 3.469 kB / 1.308 GB, free: 14.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02822/1.272, allocations: 8.652 MB / 1.316 GB, free: 11.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/1.272, allocations: 66.16 kB / 1.316 GB, free: 11.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/1.274, allocations: 1.128 MB / 1.317 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/1.275, allocations: 47.67 kB / 1.318 GB, free: 11.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.276, allocations: 1.338 MB / 1.319 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/1.277, allocations: 0.4973 MB / 1.319 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000756/1.278, allocations: 295.7 kB / 1.32 GB, free: 9.848 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.278, allocations: 305.1 kB / 1.32 GB, free: 9.547 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.28, allocations: 0.9171 MB / 1.321 GB, free: 9.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.282, allocations: 1.324 MB / 1.322 GB, free: 8.375 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/1.286, allocations: 2.424 MB / 1.324 GB, free: 7.047 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/1.286, allocations: 9.125 kB / 1.324 GB, free: 7.043 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007301/1.293, allocations: 3.429 MB / 1.328 GB, free: 5.801 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.293, allocations: 11.94 kB / 1.328 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.293, allocations: 12.12 kB / 1.328 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/1.296, allocations: 1.19 MB / 1.329 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/1.297, allocations: 257.8 kB / 1.329 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/1.319, allocations: 13.86 MB / 1.343 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.321, allocations: 92.34 kB / 1.343 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/1.321, allocations: 61.41 kB / 1.343 GB, free: 12.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00244/1.323, allocations: 1.115 MB / 1.344 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/1.324, allocations: 167.8 kB / 1.344 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/1.33, allocations: 3.133 MB / 1.347 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.33, allocations: 14.84 kB / 1.347 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/1.33, allocations: 12.44 kB / 1.347 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.33, allocations: 7.922 kB / 1.347 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.342, allocations: 6.205 MB / 1.353 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.342, allocations: 5.125 kB / 1.353 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/1.343, allocations: 150.2 kB / 1.353 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.346, allocations: 1.077 MB / 1.355 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.251e-05/1.346, allocations: 31.94 kB / 1.355 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/1.364, allocations: 13.54 MB / 1.368 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.364, allocations: 5.5 kB / 1.368 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006385/1.37, allocations: 3.13 MB / 1.371 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/1.372, allocations: 434 kB / 1.371 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.372, allocations: 31.73 kB / 1.371 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/1.373, allocations: 81.88 kB / 1.371 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004936/1.374, allocations: 125.9 kB / 1.371 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.809e-05/1.374, allocations: 39.09 kB / 1.372 GB, free: 9.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001334/1.375, allocations: 0.7671 MB / 1.372 GB, free: 8.617 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.375, allocations: 0 / 1.372 GB, free: 8.617 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003017/1.378, allocations: 0.658 MB / 1.373 GB, free: 8.273 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006056/1.384, allocations: 3.711 MB / 1.377 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005458/1.39, allocations: 3.008 MB / 1.379 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.39, allocations: 0 / 1.379 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.393, allocations: 1.886 MB / 1.381 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.395, allocations: 0.4883 MB / 1.382 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/1.429, allocations: 19.11 MB / 1.4 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/1.432, allocations: 2.34 MB / 1.403 GB, free: 9.293 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001235/1.433, allocations: 358.1 kB / 1.403 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.435, allocations: 1.007 MB / 1.404 GB, free: 7.93 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.435, allocations: 0 / 1.404 GB, free: 7.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.551, allocations: 52.65 MB / 1.455 GB, free: 4.062 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.55, allocations: 10.86 kB / 1.455 GB, free: 4.059 MB / 1.123 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.12824231479317]