Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.006107/0.006107, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001161/0.001161, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.118/2.118, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7704, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00556/0.776, allocations: 4.893 MB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00401/0.78, allocations: 2.488 MB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.7804, allocations: 23.34 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.7817, allocations: 411 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.783, allocations: 443.5 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.784, allocations: 402.9 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.7852, allocations: 0.92 MB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.7858, allocations: 360.6 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.7863, allocations: 338.1 kB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.7868, allocations: 352.6 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.7869, allocations: 38.03 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008836/0.7878, allocations: 401.6 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.788, allocations: 184.6 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.7884, allocations: 322.2 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.7896, allocations: 0.8864 MB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7896, allocations: 0.75 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7896, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.7897, allocations: 0.75 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001491/0.7912, allocations: 0.9486 MB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7912, allocations: 9.156 kB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.7913, allocations: 93.66 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7926, allocations: 207 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.7935, allocations: 0.5478 MB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.7935, allocations: 35.64 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.7936, allocations: 41.36 kB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.7947, allocations: 0.8492 MB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.7948, allocations: 11.06 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.7948, allocations: 24.36 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.7949, allocations: 65.73 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.7959, allocations: 0.5648 MB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.8, allocations: 5.652 MB / 1.108 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.8007, allocations: 453.1 kB / 1.109 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.801, allocations: 224.3 kB / 1.109 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.801, allocations: 7.438 kB / 1.109 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.801, allocations: 37.3 kB / 1.109 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.801, allocations: 0 / 1.109 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002591/0.8036, allocations: 1.509 MB / 1.111 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.8037, allocations: 55.52 kB / 1.111 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.8042, allocations: 0.4974 MB / 1.111 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.8043, allocations: 31.08 kB / 1.111 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.8045, allocations: 365.6 kB / 1.111 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.8046, allocations: 121.6 kB / 1.112 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.8048, allocations: 107.3 kB / 1.112 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8049, allocations: 369.7 kB / 1.112 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.8052, allocations: 196.6 kB / 1.112 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.8057, allocations: 451.3 kB / 1.113 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/0.8065, allocations: 0.6927 MB / 1.113 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8065, allocations: 2.531 kB / 1.113 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00125/0.8078, allocations: 0.8094 MB / 1.114 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8078, allocations: 8.719 kB / 1.114 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.8078, allocations: 8.297 kB / 1.114 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.8083, allocations: 156.5 kB / 1.114 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.8088, allocations: 125.5 kB / 1.114 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.812, allocations: 4.343 MB / 1.119 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.8125, allocations: 33.12 kB / 1.119 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.8126, allocations: 27.58 kB / 1.119 GB, free: 14.6 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.8129, allocations: 219.4 kB / 1.119 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.813, allocations: 62.89 kB / 1.119 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.8141, allocations: 0.595 MB / 1.12 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8141, allocations: 7.656 kB / 1.12 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8141, allocations: 1.922 kB / 1.12 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.8141, allocations: 2.312 kB / 1.12 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.816, allocations: 1.265 MB / 1.121 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8161, allocations: 2.375 kB / 1.121 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.8163, allocations: 58.94 kB / 1.121 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/0.8168, allocations: 138.3 kB / 1.121 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.8168, allocations: 12.09 kB / 1.121 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.8199, allocations: 4.336 MB / 1.125 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.8199, allocations: 2.172 kB / 1.125 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.8209, allocations: 0.715 MB / 1.126 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.8212, allocations: 169.8 kB / 1.126 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.8213, allocations: 10.08 kB / 1.126 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.8216, allocations: 22.17 kB / 1.126 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.8216, allocations: 34.78 kB / 1.126 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.8217, allocations: 8.5 kB / 1.126 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004025/0.8221, allocations: 338.6 kB / 1.127 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8221, allocations: 3.938 kB / 1.127 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006934/0.8228, allocations: 144.5 kB / 1.127 GB, free: 8.285 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.824, allocations: 1.258 MB / 1.128 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.8255, allocations: 1.041 MB / 1.129 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8255, allocations: 1.375 kB / 1.129 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.8263, allocations: 0.7378 MB / 1.13 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.8273, allocations: 211.8 kB / 1.13 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/0.8336, allocations: 5.138 MB / 1.135 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.8342, allocations: 0.9064 MB / 1.136 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.8345, allocations: 122 kB / 1.136 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.8348, allocations: 195.4 kB / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/0.8348, allocations: 0 / 1.136 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.8765, allocations: 12.86 MB / 1.149 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.812/10.69, allocations: 9.391 kB / 1.149 GB, free: 15.8 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches