Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001559/0.001559, allocations: 107.5 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.001737/0.001737, 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.67/1.67, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.597/2.597, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.89 kB / 1.056 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8805, allocations: 160.7 MB / 1.213 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03506/0.9156, allocations: 27.11 MB / 1.239 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.9332, allocations: 8.168 MB / 1.247 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.937, allocations: 115.4 kB / 1.247 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.008567/0.9455, allocations: 2.806 MB / 1.25 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.9518, allocations: 1.675 MB / 1.252 GB, free: 388 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.9579, allocations: 1.671 MB / 1.253 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009666/0.9676, allocations: 6.138 MB / 1.259 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.9778, allocations: 5.31 MB / 1.265 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007294/0.9851, allocations: 2.613 MB / 1.267 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006283/0.9914, allocations: 2.998 MB / 1.27 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.9934, allocations: 0.5078 MB / 1.271 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0041/0.9975, allocations: 1.31 MB / 1.272 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004717/1.002, allocations: 2.1 MB / 1.274 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00864/1.011, allocations: 2.388 MB / 1.276 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01511/1.026, allocations: 8.078 MB / 1.284 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.026, allocations: 0 / 1.284 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.026, allocations: 0 / 1.284 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003208/1.026, allocations: 0 / 1.284 GB, free: 15.08 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01567/1.042, allocations: 4.332 MB / 1.288 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.042, allocations: 8.922 kB / 1.288 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00238/1.044, allocations: 0.5382 MB / 1.289 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/1.05, allocations: 0.8257 MB / 1.29 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008006/1.058, allocations: 2.586 MB / 1.292 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004412/1.059, allocations: 275.6 kB / 1.293 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002622/1.061, allocations: 376.4 kB / 1.293 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/1.078, allocations: 6 MB / 1.299 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/1.078, allocations: 19.83 kB / 1.299 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/1.08, allocations: 160 kB / 1.299 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007586/1.08, allocations: 278.9 kB / 1.299 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/1.092, allocations: 4.528 MB / 1.304 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04448/1.136, allocations: 27.5 MB / 1.33 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/1.138, allocations: 1.06 MB / 1.332 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/1.14, allocations: 0.9564 MB / 1.332 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/1.14, allocations: 13 kB / 1.332 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/1.14, allocations: 51.56 kB / 1.333 GB, free: 10.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 3.246e-06/1.14, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.0252/1.166, allocations: 9.703 MB / 1.342 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.166, allocations: 72.7 kB / 1.342 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.169, allocations: 1.494 MB / 1.344 GB, free: 15.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/1.169, allocations: 49.7 kB / 1.344 GB, free: 15.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.171, allocations: 1.711 MB / 1.345 GB, free: 13.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006251/1.171, allocations: 499.8 kB / 1.346 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007572/1.172, allocations: 331.4 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.172, allocations: 305.1 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/1.174, allocations: 0.9174 MB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/1.176, allocations: 1.463 MB / 1.349 GB, free: 9.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/1.18, allocations: 2.55 MB / 1.351 GB, free: 6.867 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.18, allocations: 8 kB / 1.351 GB, free: 6.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006883/1.186, allocations: 3.263 MB / 1.354 GB, free: 3.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/1.186, allocations: 15.98 kB / 1.354 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/1.187, allocations: 20 kB / 1.354 GB, free: 3.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/1.189, allocations: 0.742 MB / 1.355 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.191, allocations: 383.4 kB / 1.355 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.211, allocations: 17.06 MB / 1.372 GB, free: 64 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.213, allocations: 103.8 kB / 1.372 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/1.213, allocations: 79.92 kB / 1.372 GB, free: 15.88 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.003299/1.216, allocations: 1.309 MB / 1.374 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006909/1.217, allocations: 206.7 kB / 1.374 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/1.223, allocations: 2.769 MB / 1.376 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.223, allocations: 12 kB / 1.376 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/1.223, allocations: 8 kB / 1.376 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.223, allocations: 7.922 kB / 1.376 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.237, allocations: 6.201 MB / 1.383 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.237, allocations: 8 kB / 1.383 GB, free: 5.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.238, allocations: 227.7 kB / 1.383 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/1.24, allocations: 0.6674 MB / 1.383 GB, free: 4.23 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.241, allocations: 35.98 kB / 1.383 GB, free: 4.195 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/1.259, allocations: 16.79 MB / 1.4 GB, free: 2.137 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.259, allocations: 4 kB / 1.4 GB, free: 2.133 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/1.267, allocations: 3.994 MB / 1.404 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.268, allocations: 459.7 kB / 1.404 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/1.269, allocations: 35.94 kB / 1.404 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.27, allocations: 83.89 kB / 1.404 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/1.271, allocations: 116.7 kB / 1.404 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.271, allocations: 40 kB / 1.404 GB, free: 13.29 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002144/1.273, allocations: 0.9942 MB / 1.405 GB, free: 12.3 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.273, allocations: 0 / 1.405 GB, free: 12.3 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003443/1.276, allocations: 0.6875 MB / 1.406 GB, free: 11.62 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00782/1.284, allocations: 4.595 MB / 1.411 GB, free: 6.898 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005994/1.29, allocations: 3.378 MB / 1.414 GB, free: 3.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.29, allocations: 4 kB / 1.414 GB, free: 3.406 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.294, allocations: 2.253 MB / 1.416 GB, free: 1.035 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.298, allocations: 0.6775 MB / 1.417 GB, free: 388 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/1.339, allocations: 21.21 MB / 1.437 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004739/1.344, allocations: 2.672 MB / 1.44 GB, free: 7.586 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001856/1.346, allocations: 493.4 kB / 1.441 GB, free: 7.102 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.348, allocations: 1.28 MB / 1.442 GB, free: 5.82 MB / 1.154 GB Notification: Performance of SimCode: time 1.403e-06/1.348, allocations: 0 / 1.442 GB, free: 5.82 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/1.513, allocations: 57.57 MB / 1.498 GB, free: 12.92 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.41, allocations: 12.94 kB / 1.498 GB, free: 12.91 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.976156331133097]