Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 195.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5885, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03742/0.626, allocations: 37.6 MB / 0.9865 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.6478, allocations: 13.03 MB / 0.9992 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.6519, allocations: 171.1 kB / 0.9993 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00967/0.6616, allocations: 3.89 MB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.6698, allocations: 2.495 MB / 1.006 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.6766, allocations: 2.693 MB / 1.008 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.688, allocations: 9.575 MB / 1.018 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.7007, allocations: 10.63 MB / 1.028 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006349/0.707, allocations: 3.98 MB / 1.032 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006639/0.7137, allocations: 4.381 MB / 1.036 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002039/0.7158, allocations: 0.7695 MB / 1.037 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.7199, allocations: 1.779 MB / 1.039 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.7231, allocations: 3.04 MB / 1.042 GB, free: 3.48 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005399/0.7285, allocations: 3.583 MB / 1.045 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.7414, allocations: 11.78 MB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7415, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7415, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003166/0.7418, allocations: 0 / 1.057 GB, free: 4.07 MB / 0.8106 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.01463/0.7564, allocations: 6.354 MB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7565, allocations: 12.03 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.7577, allocations: 0.748 MB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/0.7655, allocations: 1.301 MB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.7713, allocations: 3.564 MB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.7715, allocations: 386.5 kB / 1.069 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008217/0.7724, allocations: 0.4924 MB / 1.069 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.7869, allocations: 8.886 MB / 1.078 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.7871, allocations: 27.62 kB / 1.078 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005731/0.7877, allocations: 223.9 kB / 1.078 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002289/0.79, allocations: 0.6382 MB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.8023, allocations: 7.01 MB / 1.085 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04751/0.8498, allocations: 40.33 MB / 1.125 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/0.8538, allocations: 2.894 MB / 1.128 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/0.8574, allocations: 2.663 MB / 1.13 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.8576, allocations: 26.09 kB / 1.13 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.8577, allocations: 72.59 kB / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=265): time 4.478e-06/0.8577, allocations: 0 / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=424): time 0.3001/1.158, allocations: 74.72 MB / 1.203 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.158, allocations: 94.73 kB / 1.203 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/1.161, allocations: 2.367 MB / 1.206 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003077/1.161, allocations: 97.7 kB / 1.206 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.163, allocations: 2.333 MB / 1.208 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.164, allocations: 1.444 MB / 1.21 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.165, allocations: 0.7137 MB / 1.21 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/1.165, allocations: 305.1 kB / 1.211 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/1.169, allocations: 2.991 MB / 1.213 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/1.174, allocations: 3.847 MB / 1.217 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009305/1.183, allocations: 7.387 MB / 1.224 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.183, allocations: 12 kB / 1.224 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02942/1.212, allocations: 12.56 MB / 1.237 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/1.212, allocations: 16 kB / 1.237 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/1.212, allocations: 24 kB / 1.237 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/1.236, allocations: 6.067 MB / 1.243 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.239, allocations: 499.3 kB / 1.243 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5185/1.757, allocations: 73.02 MB / 1.314 GB, free: 235.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/1.762, allocations: 225.2 kB / 1.315 GB, free: 235.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003538/1.762, allocations: 149.9 kB / 1.315 GB, free: 235.5 MB / 1.014 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.002754/1.765, allocations: 2.005 MB / 1.317 GB, free: 234.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.765, allocations: 395.2 kB / 1.317 GB, free: 234.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/1.789, allocations: 12.24 MB / 1.329 GB, free: 229.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.789, allocations: 38.72 kB / 1.329 GB, free: 229.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.569e-05/1.789, allocations: 50.25 kB / 1.329 GB, free: 229.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/1.789, allocations: 19.92 kB / 1.329 GB, free: 229 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03188/1.821, allocations: 19.14 MB / 1.348 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/1.821, allocations: 8 kB / 1.348 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.823, allocations: 287.5 kB / 1.348 GB, free: 213.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01904/1.842, allocations: 5.622 MB / 1.354 GB, free: 207.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005575/1.842, allocations: 79.98 kB / 1.354 GB, free: 207.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06325/1.906, allocations: 70.66 MB / 1.423 GB, free: 133.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.906, allocations: 11.94 kB / 1.423 GB, free: 133.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0261/1.932, allocations: 15.61 MB / 1.438 GB, free: 118 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.934, allocations: 1.041 MB / 1.439 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/1.934, allocations: 88 kB / 1.439 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.937, allocations: 219.7 kB / 1.439 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/1.938, allocations: 398.3 kB / 1.44 GB, free: 116.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.938, allocations: 108 kB / 1.44 GB, free: 116.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001725/1.94, allocations: 1.559 MB / 1.441 GB, free: 114.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.94, allocations: 0 / 1.441 GB, free: 114.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005103/1.945, allocations: 1.859 MB / 1.443 GB, free: 112.7 MB / 1.014 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.02484/1.97, allocations: 16.29 MB / 1.459 GB, free: 96.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02202/1.992, allocations: 14.97 MB / 1.474 GB, free: 80.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.992, allocations: 5 kB / 1.474 GB, free: 80.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/2.005, allocations: 8.358 MB / 1.482 GB, free: 72.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/2.009, allocations: 1.188 MB / 1.483 GB, free: 71.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08784/2.097, allocations: 60.31 MB / 1.542 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/2.101, allocations: 4.09 MB / 1.546 GB, free: 2.602 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002518/2.104, allocations: 0.6708 MB / 1.547 GB, free: 1.926 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.106, allocations: 2.137 MB / 1.549 GB, free: 15.82 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/2.106, allocations: 0 / 1.549 GB, free: 15.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7209/2.827, allocations: 151.5 MB / 1.697 GB, free: 383.9 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/16.89, allocations: 5.969 kB / 1.697 GB, free: 383.9 MB / 1.154 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches