Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Loads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.0008679/0.0008679, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005734/0.005734, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003096, allocations: 8 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.563, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03638/0.5994, allocations: 36.03 MB / 1.058 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.6192, allocations: 13.46 MB / 1.071 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.6218, allocations: 95.62 kB / 1.072 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.6235, allocations: 0.6012 MB / 1.072 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.6274, allocations: 1.331 MB / 1.073 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004811/0.6322, allocations: 1.926 MB / 1.075 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009828/0.6421, allocations: 9.581 MB / 1.085 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02505/0.6671, allocations: 11.93 MB / 1.096 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.6715, allocations: 1.829 MB / 1.098 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.6775, allocations: 2.71 MB / 1.101 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007937/0.6783, allocations: 256 kB / 1.101 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.6807, allocations: 1.057 MB / 1.102 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.6824, allocations: 1.999 MB / 1.104 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.6843, allocations: 2.019 MB / 1.106 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006898/0.6912, allocations: 8.674 MB / 1.114 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6912, allocations: 0 / 1.114 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6913, allocations: 0 / 1.114 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001971/0.6915, allocations: 0 / 1.114 GB, free: 2.016 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.006148/0.6976, allocations: 3.403 MB / 1.118 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6977, allocations: 12.03 kB / 1.118 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008414/0.6985, allocations: 0.6366 MB / 1.118 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.702, allocations: 0.9443 MB / 1.119 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/0.705, allocations: 2.187 MB / 1.121 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.7052, allocations: 325 kB / 1.122 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006118/0.7058, allocations: 420.3 kB / 1.122 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00974/0.7156, allocations: 7.377 MB / 1.129 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-05/0.7157, allocations: 7.938 kB / 1.129 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.7161, allocations: 180 kB / 1.13 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/0.7164, allocations: 290.9 kB / 1.13 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008086/0.7245, allocations: 5.967 MB / 1.136 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/0.7555, allocations: 32.63 MB / 1.168 GB, free: 8.434 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.7584, allocations: 2.107 MB / 1.17 GB, free: 6.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.7599, allocations: 1.232 MB / 1.171 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.76, allocations: 110.1 kB / 1.171 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.7601, allocations: 51.5 kB / 1.171 GB, free: 4.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=98): time 2.374e-06/0.7601, allocations: 0 / 1.171 GB, free: 4.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=101): time 0.006735/0.7668, allocations: 5.238 MB / 1.176 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.7669, allocations: 146.1 kB / 1.176 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.7685, allocations: 1.453 MB / 1.178 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.7686, allocations: 45.7 kB / 1.178 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.7697, allocations: 1.855 MB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.77, allocations: 382.8 kB / 1.18 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.7702, allocations: 165.8 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.7703, allocations: 301.1 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.7717, allocations: 1.109 MB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.7738, allocations: 2.188 MB / 1.183 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/0.7774, allocations: 3.407 MB / 1.187 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.7775, allocations: 15.94 kB / 1.187 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004409/0.7819, allocations: 3.316 MB / 1.19 GB, free: 120 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006414/0.7825, allocations: 1.086 MB / 1.191 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.7826, allocations: 32 kB / 1.191 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.733e-05/0.7826, allocations: 51.98 kB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.7846, allocations: 0.62 MB / 1.192 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.242e-05/0.7846, allocations: 71.72 kB / 1.192 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7862, allocations: 310.7 kB / 1.192 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.7863, allocations: 120 kB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.7863, allocations: 7.938 kB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/0.7898, allocations: 2.746 MB / 1.195 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.7899, allocations: 36 kB / 1.195 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.7899, allocations: 52.16 kB / 1.195 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.7915, allocations: 0.5537 MB / 1.196 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.525e-05/0.7915, allocations: 67.72 kB / 1.196 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.7927, allocations: 227 kB / 1.196 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.7929, allocations: 112 kB / 1.196 GB, free: 9.566 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002219/0.7951, allocations: 1.71 MB / 1.198 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.7954, allocations: 158.1 kB / 1.198 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.7984, allocations: 2.219 MB / 1.2 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7985, allocations: 12 kB / 1.2 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7985, allocations: 3.938 kB / 1.2 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.7985, allocations: 7.984 kB / 1.2 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.8114, allocations: 10.98 MB / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.8114, allocations: 19.92 kB / 1.211 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.8127, allocations: 391.3 kB / 1.211 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.8128, allocations: 16.14 kB / 1.211 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.8129, allocations: 28 kB / 1.211 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.8129, allocations: 23.92 kB / 1.211 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.8129, allocations: 19.94 kB / 1.211 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.8157, allocations: 2.763 MB / 1.214 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.8164, allocations: 474.7 kB / 1.214 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.8166, allocations: 35.98 kB / 1.214 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.8176, allocations: 163.7 kB / 1.215 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.8178, allocations: 96.22 kB / 1.215 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.8178, allocations: 44 kB / 1.215 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001112/0.819, allocations: 0.9742 MB / 1.216 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.819, allocations: 0 / 1.216 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003183/0.8222, allocations: 1.125 MB / 1.217 GB, free: 3.871 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003101/0.8253, allocations: 3.348 MB / 1.22 GB, free: 360 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004828/0.8301, allocations: 3.989 MB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8301, allocations: 3.938 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.8314, allocations: 1.06 MB / 1.225 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/0.8352, allocations: 415.9 kB / 1.225 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/0.8629, allocations: 24.34 MB / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4012/1.264, allocations: 2.862 MB / 1.252 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003453/1.268, allocations: 1.209 MB / 1.253 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.269, allocations: 1.272 MB / 1.254 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.269, allocations: 0.7812 kB / 1.254 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.662/2.931, allocations: 44.39 MB / 1.298 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.932, allocations: 216.7 kB / 1.298 GB, free: 190 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/5.546, allocations: 0 / 1.298 GB, free: 190 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches