Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.008505/0.008505, allocations: 100.6 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003016/0.003016, allocations: 190 kB / 16.67 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.148/2.148, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6882, allocations: 140.4 MB / 1.087 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03982/0.728, allocations: 35.11 MB / 1.122 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02015/0.7483, allocations: 9.952 MB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/0.7535, allocations: 143.5 kB / 1.132 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.7649, allocations: 3.819 MB / 1.135 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00738/0.7723, allocations: 2.145 MB / 1.137 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.7781, allocations: 1.954 MB / 1.139 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.7891, allocations: 7.985 MB / 1.147 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.8027, allocations: 9.53 MB / 1.156 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00763/0.8104, allocations: 3.428 MB / 1.16 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007471/0.8179, allocations: 3.734 MB / 1.163 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002403/0.8203, allocations: 0.6787 MB / 1.164 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.8255, allocations: 1.441 MB / 1.166 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.8304, allocations: 2.627 MB / 1.168 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008848/0.8393, allocations: 3.095 MB / 1.171 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.8556, allocations: 10.41 MB / 1.181 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8557, allocations: 1.094 kB / 1.181 GB, free: 11.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8557, allocations: 0 / 1.181 GB, free: 11.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003281/0.856, allocations: 0 / 1.181 GB, free: 11.84 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01674/0.8728, allocations: 5.537 MB / 1.187 GB, free: 8.113 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8728, allocations: 10.5 kB / 1.187 GB, free: 8.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002409/0.8753, allocations: 0.6956 MB / 1.187 GB, free: 7.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/0.8812, allocations: 0.9913 MB / 1.188 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/0.8887, allocations: 3.2 MB / 1.191 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/0.889, allocations: 357.9 kB / 1.192 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.8906, allocations: 468.3 kB / 1.192 GB, free: 2.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.9086, allocations: 7.91 MB / 1.2 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.9088, allocations: 15.88 kB / 1.2 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008868/0.9097, allocations: 211.9 kB / 1.2 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/0.9102, allocations: 373.1 kB / 1.201 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.9216, allocations: 5.933 MB / 1.206 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04243/0.9641, allocations: 36 MB / 1.242 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.9677, allocations: 2.139 MB / 1.244 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.9698, allocations: 1.484 MB / 1.245 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.9699, allocations: 13.31 kB / 1.245 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.97, allocations: 59.81 kB / 1.245 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.927e-06/0.97, allocations: 0 / 1.245 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01495/0.9849, allocations: 7.61 MB / 1.253 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.985, allocations: 64.72 kB / 1.253 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.988, allocations: 1.868 MB / 1.254 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.9882, allocations: 53.7 kB / 1.254 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.9897, allocations: 2.188 MB / 1.257 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/0.9903, allocations: 0.581 MB / 1.257 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007585/0.9911, allocations: 412 kB / 1.258 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.9912, allocations: 301.1 kB / 1.258 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.9928, allocations: 1.062 MB / 1.259 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.9951, allocations: 1.76 MB / 1.261 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.9991, allocations: 3.045 MB / 1.264 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.9991, allocations: 11.94 kB / 1.264 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006694/1.006, allocations: 3.933 MB / 1.267 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.006, allocations: 16 kB / 1.267 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/1.006, allocations: 23.98 kB / 1.267 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.009, allocations: 0.9356 MB / 1.268 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.01, allocations: 431.4 kB / 1.269 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/1.033, allocations: 22.75 MB / 1.291 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.035, allocations: 127.9 kB / 1.291 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/1.036, allocations: 96 kB / 1.291 GB, free: 6.992 MB / 1.029 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003369/1.039, allocations: 1.652 MB / 1.293 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006679/1.04, allocations: 270.4 kB / 1.293 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/1.046, allocations: 3.264 MB / 1.296 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.046, allocations: 16 kB / 1.296 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/1.046, allocations: 12 kB / 1.296 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/1.046, allocations: 7.969 kB / 1.296 GB, free: 1.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/1.06, allocations: 7.549 MB / 1.304 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.06, allocations: 8 kB / 1.304 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009792/1.061, allocations: 215.6 kB / 1.304 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/1.063, allocations: 0.8966 MB / 1.305 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.063, allocations: 28 kB / 1.305 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/1.084, allocations: 22.74 MB / 1.327 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.084, allocations: 11.92 kB / 1.327 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005783/1.09, allocations: 3.392 MB / 1.33 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.092, allocations: 0.5385 MB / 1.331 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/1.092, allocations: 35.92 kB / 1.331 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.094, allocations: 95.89 kB / 1.331 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.094, allocations: 144.9 kB / 1.331 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.094, allocations: 47.98 kB / 1.331 GB, free: 12.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001886/1.096, allocations: 1.221 MB / 1.332 GB, free: 10.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.096, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003199/1.099, allocations: 0.9062 MB / 1.333 GB, free: 9.879 MB / 1.076 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005708/1.105, allocations: 3.996 MB / 1.337 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006613/1.112, allocations: 4.451 MB / 1.342 GB, free: 1.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.112, allocations: 0 / 1.342 GB, free: 1.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004256/1.116, allocations: 3 MB / 1.344 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/1.12, allocations: 0.8326 MB / 1.345 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/1.162, allocations: 25.19 MB / 1.37 GB, free: 2.895 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005383/1.167, allocations: 3.201 MB / 1.373 GB, free: 15.66 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00202/1.169, allocations: 0.5254 MB / 1.374 GB, free: 15.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.171, allocations: 1.651 MB / 1.375 GB, free: 13.47 MB / 1.123 GB Notification: Performance of SimCode: time 2.134e-06/1.171, allocations: 0 / 1.375 GB, free: 13.47 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.313, allocations: 70.28 MB / 1.444 GB, free: 8.07 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.26, allocations: 6.5 kB / 1.444 GB, free: 8.07 MB / 1.186 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches