Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001102/0.001102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001293/0.001293, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 55.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5389, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01774/0.5567, allocations: 15.92 MB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007416/0.5641, allocations: 4.778 MB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.5652, allocations: 55.69 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.5677, allocations: 0.9689 MB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5694, allocations: 0.6768 MB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5715, allocations: 0.8532 MB / 1.04 GB, free: 11.38 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003558/0.5751, allocations: 3.614 MB / 1.043 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007541/0.5826, allocations: 5.852 MB / 1.049 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.5848, allocations: 1.601 MB / 1.05 GB, free: 240 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.5873, allocations: 1.862 MB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007761/0.5881, allocations: 344 kB / 1.053 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5899, allocations: 0.7996 MB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.5914, allocations: 1.322 MB / 1.055 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002/0.5935, allocations: 1.451 MB / 1.056 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.5977, allocations: 5.138 MB / 1.061 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5978, allocations: 0 / 1.061 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.27e-06/0.5978, allocations: 0 / 1.061 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.612e-05/0.5978, allocations: 3.938 kB / 1.061 GB, free: 5.293 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004362/0.6022, allocations: 2.639 MB / 1.064 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6022, allocations: 12.03 kB / 1.064 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004237/0.6027, allocations: 382.4 kB / 1.064 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.6064, allocations: 0.829 MB / 1.065 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.6085, allocations: 1.498 MB / 1.066 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.6086, allocations: 181.1 kB / 1.067 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.6089, allocations: 232.3 kB / 1.067 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005643/0.6146, allocations: 4.165 MB / 1.071 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.6146, allocations: 7.875 kB / 1.071 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.6149, allocations: 99.98 kB / 1.071 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.6151, allocations: 168.5 kB / 1.071 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.62, allocations: 3.628 MB / 1.075 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.6362, allocations: 16.55 MB / 1.091 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.6394, allocations: 2.293 MB / 1.093 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/0.6402, allocations: 0.578 MB / 1.094 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.6403, allocations: 101.6 kB / 1.094 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6404, allocations: 43.06 kB / 1.094 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.6404, allocations: 0 / 1.094 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.005058/0.6454, allocations: 3.432 MB / 1.097 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.6455, allocations: 111.5 kB / 1.097 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6467, allocations: 1.01 MB / 1.098 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.6467, allocations: 41.7 kB / 1.098 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.6474, allocations: 1.099 MB / 1.099 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6476, allocations: 276.1 kB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.6479, allocations: 283.2 kB / 1.1 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6481, allocations: 422.7 kB / 1.1 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/0.649, allocations: 0.6089 MB / 1.101 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6502, allocations: 1.189 MB / 1.102 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.6523, allocations: 1.868 MB / 1.104 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6523, allocations: 8 kB / 1.104 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002756/0.655, allocations: 2.011 MB / 1.106 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6551, allocations: 17.56 kB / 1.106 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.6551, allocations: 16 kB / 1.106 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.6555, allocations: 163.3 kB / 1.106 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.657, allocations: 343.5 kB / 1.106 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-05/0.6571, allocations: 47.84 kB / 1.106 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6586, allocations: 127.7 kB / 1.106 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.6588, allocations: 71.98 kB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.6609, allocations: 0.9771 MB / 1.107 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.6612, allocations: 110.6 kB / 1.108 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.6639, allocations: 1.234 MB / 1.109 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.664, allocations: 8 kB / 1.109 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.664, allocations: 7.938 kB / 1.109 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.664, allocations: 11.92 kB / 1.109 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/0.6709, allocations: 3.8 MB / 1.113 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6709, allocations: 4.031 kB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.6717, allocations: 155.8 kB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.6722, allocations: 143.3 kB / 1.113 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.6723, allocations: 16 kB / 1.113 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.6723, allocations: 7.938 kB / 1.113 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.6723, allocations: 11.94 kB / 1.113 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.6749, allocations: 1.461 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.6754, allocations: 271.7 kB / 1.115 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.6756, allocations: 23.98 kB / 1.115 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.6764, allocations: 67.91 kB / 1.115 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.6766, allocations: 60.36 kB / 1.115 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.688e-05/0.6767, allocations: 24 kB / 1.115 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001193/0.6779, allocations: 0.6953 MB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6779, allocations: 4 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001865/0.6798, allocations: 388 kB / 1.116 GB, free: 10.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002706/0.6825, allocations: 2.044 MB / 1.118 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003471/0.686, allocations: 2.011 MB / 1.12 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.686, allocations: 4 kB / 1.12 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6871, allocations: 0.8673 MB / 1.121 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6888, allocations: 273.2 kB / 1.121 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/0.7081, allocations: 14.29 MB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.7098, allocations: 1.916 MB / 1.137 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001269/0.7111, allocations: 453.4 kB / 1.137 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.7119, allocations: 0.7141 MB / 1.138 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.7119, allocations: 0 / 1.138 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07628/0.7882, allocations: 27.23 MB / 1.164 GB, free: 7.785 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.7885, allocations: 257.9 kB / 1.165 GB, free: 7.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.809, allocations: 0 / 1.165 GB, free: 7.52 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches