Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0007405/0.0007405, allocations: 91.84 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.006109/0.006109, allocations: 170.2 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7023, allocations: 142.4 MB / 0.9552 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0194/0.7217, allocations: 19.64 MB / 0.9744 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.7341, allocations: 7.656 MB / 0.9818 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.7359, allocations: 50.84 kB / 0.9819 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008748/0.7368, allocations: 369.6 kB / 0.9822 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.739, allocations: 0.9366 MB / 0.9831 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.7422, allocations: 1.319 MB / 0.9844 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006117/0.7483, allocations: 6.451 MB / 0.9907 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009869/0.7582, allocations: 7.517 MB / 0.9981 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.7604, allocations: 1.249 MB / 0.9993 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.7628, allocations: 1.885 MB / 1.001 GB, free: 72 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.7631, allocations: 176 kB / 1.001 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.7646, allocations: 0.8539 MB / 1.002 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.7658, allocations: 1.341 MB / 1.003 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.7671, allocations: 1.378 MB / 1.005 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.7723, allocations: 5.886 MB / 1.011 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7723, allocations: 0 / 1.011 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7723, allocations: 0 / 1.011 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.661e-05/0.7724, allocations: 0 / 1.011 GB, free: 6.406 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004552/0.777, allocations: 2.448 MB / 1.013 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.777, allocations: 11.97 kB / 1.013 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005482/0.7776, allocations: 450 kB / 1.013 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.7809, allocations: 0.7506 MB / 1.014 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.7831, allocations: 1.544 MB / 1.016 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.7832, allocations: 218.2 kB / 1.016 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004487/0.7837, allocations: 284.3 kB / 1.016 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007241/0.7909, allocations: 5.093 MB / 1.021 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.791, allocations: 7.938 kB / 1.021 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.7913, allocations: 124 kB / 1.021 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002285/0.7916, allocations: 216.6 kB / 1.021 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.798, allocations: 4.232 MB / 1.026 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.8208, allocations: 23.08 MB / 1.048 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.8237, allocations: 1.735 MB / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.8253, allocations: 1.133 MB / 1.051 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.8255, allocations: 101.7 kB / 1.051 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.8255, allocations: 51.2 kB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.8255, allocations: 4 kB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87): time 0.006424/0.8319, allocations: 4.024 MB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.8321, allocations: 141.2 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.8333, allocations: 0.8604 MB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.8334, allocations: 45.7 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.8342, allocations: 1.166 MB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.8345, allocations: 307.6 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.8346, allocations: 101.7 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.8348, allocations: 410.7 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.8362, allocations: 0.8223 MB / 1.059 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.8379, allocations: 1.322 MB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.8408, allocations: 2.175 MB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.8408, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003565/0.8444, allocations: 2.214 MB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003775/0.8448, allocations: 0.499 MB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.8448, allocations: 16 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.8449, allocations: 20 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.8465, allocations: 427.3 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.644e-05/0.8465, allocations: 31.86 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.8479, allocations: 215.2 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.848, allocations: 67.92 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.8481, allocations: 5.406 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002864/0.8509, allocations: 1.815 MB / 1.067 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.851, allocations: 13 kB / 1.067 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.851, allocations: 24 kB / 1.067 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.8523, allocations: 363.4 kB / 1.068 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.525e-05/0.8524, allocations: 35.86 kB / 1.068 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.8534, allocations: 163.3 kB / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.8535, allocations: 59.98 kB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.001757/0.8553, allocations: 1.176 MB / 1.069 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.8555, allocations: 98.78 kB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.8585, allocations: 1.858 MB / 1.071 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.8585, allocations: 8 kB / 1.071 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8585, allocations: 0 / 1.071 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.8585, allocations: 11.97 kB / 1.071 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.8709, allocations: 9.6 MB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.871, allocations: 8 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.8722, allocations: 311.5 kB / 1.081 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.8722, allocations: 16 kB / 1.081 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.8723, allocations: 28.41 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.8723, allocations: 31.86 kB / 1.081 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.8723, allocations: 19.88 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.8751, allocations: 2.402 MB / 1.083 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.8757, allocations: 395.3 kB / 1.083 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.8759, allocations: 35.98 kB / 1.084 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.877, allocations: 139.8 kB / 1.084 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.8772, allocations: 95.61 kB / 1.084 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.8773, allocations: 36 kB / 1.084 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009452/0.8782, allocations: 0.6161 MB / 1.084 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8782, allocations: 0 / 1.084 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002684/0.8809, allocations: 0.75 MB / 1.085 GB, free: 6.312 MB / 0.8419 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 (90): * Single equations (assignments): 90 * 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.003172/0.8841, allocations: 3.001 MB / 1.088 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004653/0.8888, allocations: 2.882 MB / 1.091 GB, free: 272 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.8888, allocations: 4.062 kB / 1.091 GB, free: 268 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.8902, allocations: 0.9194 MB / 1.092 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.8935, allocations: 296.8 kB / 1.092 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/0.9188, allocations: 16.91 MB / 1.109 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.9214, allocations: 2.127 MB / 1.111 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002047/0.9235, allocations: 0.7461 MB / 1.111 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.9247, allocations: 0.8312 MB / 1.112 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/0.9247, allocations: 0 / 1.112 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06793/0.9926, allocations: 30.96 MB / 1.142 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.9928, allocations: 218.2 kB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.139, allocations: 4.062 kB / 1.143 GB, free: 10.62 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches