Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001654/0.001654, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.001897/0.001897, allocations: 195.8 kB / 19.41 MB, free: 3.645 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.478/1.478, 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 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.64/2.64, allocations: 443.5 MB / 0.7287 GB, free: 13.29 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_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 67.89 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.912, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04968/0.9617, allocations: 38.18 MB / 1.25 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.9881, allocations: 13.2 MB / 1.263 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007958/0.996, allocations: 171.1 kB / 1.263 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01196/1.008, allocations: 3.947 MB / 1.267 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009591/1.018, allocations: 2.62 MB / 1.27 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008343/1.026, allocations: 2.707 MB / 1.272 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01475/1.041, allocations: 9.567 MB / 1.282 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01811/1.059, allocations: 7.693 MB / 1.289 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/1.07, allocations: 4.082 MB / 1.293 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/1.082, allocations: 4.661 MB / 1.298 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005068/1.087, allocations: 0.7695 MB / 1.298 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009081/1.097, allocations: 1.814 MB / 1.3 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006861/1.103, allocations: 3.113 MB / 1.303 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008993/1.112, allocations: 3.583 MB / 1.307 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02022/1.133, allocations: 11.88 MB / 1.318 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.133, allocations: 0 / 1.318 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.208e-06/1.133, allocations: 4 kB / 1.318 GB, free: 11.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000406/1.133, allocations: 0 / 1.318 GB, free: 11.83 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0212/1.154, allocations: 6.522 MB / 1.325 GB, free: 5.227 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.154, allocations: 12.62 kB / 1.325 GB, free: 5.215 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002833/1.157, allocations: 0.7479 MB / 1.326 GB, free: 4.457 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009727/1.167, allocations: 1.332 MB / 1.327 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.178, allocations: 3.813 MB / 1.331 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004715/1.178, allocations: 382.5 kB / 1.331 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002259/1.18, allocations: 0.5002 MB / 1.331 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/1.205, allocations: 8.882 MB / 1.34 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003644/1.206, allocations: 31.77 kB / 1.34 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002312/1.208, allocations: 219.9 kB / 1.34 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002407/1.21, allocations: 0.6343 MB / 1.341 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/1.228, allocations: 7.014 MB / 1.348 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06909/1.297, allocations: 40.11 MB / 1.387 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005459/1.303, allocations: 2.651 MB / 1.39 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/1.308, allocations: 2.417 MB / 1.392 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/1.308, allocations: 30 kB / 1.392 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.996e-05/1.308, allocations: 68.59 kB / 1.392 GB, free: 12.68 MB / 1.107 GB Notification: Performance of pre-optimization done (n=265): time 5.591e-06/1.308, allocations: 0 / 1.392 GB, free: 12.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=424): time 0.3148/1.623, allocations: 74.59 MB / 1.465 GB, free: 1.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.623, allocations: 94.73 kB / 1.465 GB, free: 1.324 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/1.628, allocations: 2.371 MB / 1.467 GB, free: 14.94 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.629, allocations: 97.7 kB / 1.467 GB, free: 14.84 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.631, allocations: 2.403 MB / 1.47 GB, free: 12.42 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002763/1.634, allocations: 1.51 MB / 1.471 GB, free: 10.89 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00308/1.637, allocations: 0.7217 MB / 1.472 GB, free: 10.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.637, allocations: 301.1 kB / 1.472 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005957/1.643, allocations: 3.003 MB / 1.475 GB, free: 6.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006793/1.65, allocations: 3.843 MB / 1.479 GB, free: 2.676 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/1.664, allocations: 7.384 MB / 1.486 GB, free: 10.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-05/1.664, allocations: 4 kB / 1.486 GB, free: 10.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03631/1.701, allocations: 12.4 MB / 1.498 GB, free: 14.46 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/1.701, allocations: 16 kB / 1.498 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/1.701, allocations: 27.94 kB / 1.498 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02443/1.725, allocations: 6.026 MB / 1.504 GB, free: 8.328 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/1.728, allocations: 495.2 kB / 1.505 GB, free: 7.844 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1081/1.836, allocations: 73.04 MB / 1.576 GB, free: 11.47 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/1.84, allocations: 215.8 kB / 1.576 GB, free: 11.26 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.841, allocations: 152.1 kB / 1.576 GB, free: 11.11 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005142/1.846, allocations: 2.005 MB / 1.578 GB, free: 9.098 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/1.848, allocations: 409.5 kB / 1.579 GB, free: 8.695 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03166/1.88, allocations: 12.05 MB / 1.59 GB, free: 12.54 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/1.88, allocations: 44.08 kB / 1.59 GB, free: 12.49 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001426/1.88, allocations: 52 kB / 1.59 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/1.88, allocations: 23.91 kB / 1.59 GB, free: 12.42 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7041/2.584, allocations: 18.95 MB / 1.609 GB, free: 349.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.163e-05/2.584, allocations: 6.688 kB / 1.609 GB, free: 349.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/2.586, allocations: 288.6 kB / 1.609 GB, free: 349.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02112/2.607, allocations: 5.583 MB / 1.615 GB, free: 349.7 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001155/2.608, allocations: 80.91 kB / 1.615 GB, free: 349.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06795/2.676, allocations: 70.66 MB / 1.684 GB, free: 301.5 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/2.676, allocations: 11.44 kB / 1.684 GB, free: 301.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02768/2.704, allocations: 15.46 MB / 1.699 GB, free: 288.2 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/2.707, allocations: 1.062 MB / 1.7 GB, free: 287.1 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/2.708, allocations: 87.94 kB / 1.7 GB, free: 287 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/2.711, allocations: 215.7 kB / 1.7 GB, free: 286.8 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/2.713, allocations: 402.2 kB / 1.701 GB, free: 286.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/2.713, allocations: 112 kB / 1.701 GB, free: 286.3 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00231/2.715, allocations: 1.56 MB / 1.702 GB, free: 284.8 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.2e-07/2.715, allocations: 0 / 1.702 GB, free: 284.8 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006196/2.721, allocations: 1.859 MB / 1.704 GB, free: 282.9 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02791/2.749, allocations: 16.12 MB / 1.72 GB, free: 266.5 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01927/2.769, allocations: 11.59 MB / 1.731 GB, free: 254.6 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/2.769, allocations: 4.062 kB / 1.731 GB, free: 254.6 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01396/2.783, allocations: 8.125 MB / 1.739 GB, free: 246.2 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005824/2.788, allocations: 1.191 MB / 1.74 GB, free: 245.1 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09819/2.887, allocations: 53.69 MB / 1.793 GB, free: 189.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00768/2.894, allocations: 4.083 MB / 1.797 GB, free: 185.8 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002831/2.897, allocations: 0.6708 MB / 1.797 GB, free: 185.1 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00279/2.9, allocations: 2.128 MB / 1.799 GB, free: 183 MB / 1.311 GB Notification: Performance of SimCode: time 1.453e-06/2.9, allocations: 0 / 1.799 GB, free: 183 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2917/3.192, allocations: 152 MB / 1.948 GB, free: 32.31 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/22.67, allocations: 10.11 kB / 1.948 GB, free: 32.3 MB / 1.311 GB " [Timeout remaining time 277] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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: 29.557630028109998]