Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_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.008196/0.008196, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001862/0.001863, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.09 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8114, allocations: 157.4 MB / 1.207 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0419/0.8533, allocations: 37.28 MB / 1.244 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.8758, allocations: 13.7 MB / 1.257 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.8793, allocations: 111.6 kB / 1.257 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006057/0.8854, allocations: 2.278 MB / 1.259 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004801/0.8903, allocations: 1.435 MB / 1.261 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00912/0.8994, allocations: 3.519 MB / 1.264 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007845/0.9073, allocations: 6.387 MB / 1.27 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01292/0.9202, allocations: 9.88 MB / 1.28 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/0.9247, allocations: 2.766 MB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/0.9298, allocations: 3.198 MB / 1.286 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.9316, allocations: 0.6211 MB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.9348, allocations: 1.256 MB / 1.288 GB, free: 10.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003731/0.9385, allocations: 2.484 MB / 1.29 GB, free: 8.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005591/0.9442, allocations: 2.553 MB / 1.293 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.9549, allocations: 9.166 MB / 1.302 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.955, allocations: 0 / 1.302 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.955, allocations: 3.938 kB / 1.302 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003198/0.9553, allocations: 0 / 1.302 GB, free: 12.65 MB / 1.029 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.01215/0.9675, allocations: 4.31 MB / 1.306 GB, free: 8.273 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.9675, allocations: 8.031 kB / 1.306 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/0.9695, allocations: 0.6404 MB / 1.306 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.9749, allocations: 1.03 MB / 1.307 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.9804, allocations: 2.23 MB / 1.31 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.9808, allocations: 329 kB / 1.31 GB, free: 3.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.9821, allocations: 428.2 kB / 1.31 GB, free: 3.562 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.9974, allocations: 7.408 MB / 1.318 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.9976, allocations: 7.938 kB / 1.318 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/0.9987, allocations: 184 kB / 1.318 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003316/0.999, allocations: 290.9 kB / 1.318 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/1.01, allocations: 6.018 MB / 1.324 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/1.047, allocations: 32.46 MB / 1.356 GB, free: 2.113 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.05, allocations: 2.13 MB / 1.358 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.052, allocations: 1.255 MB / 1.359 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.052, allocations: 106 kB / 1.359 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.052, allocations: 47.56 kB / 1.359 GB, free: 14.51 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 3.297e-06/1.052, allocations: 0 / 1.359 GB, free: 14.51 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.008584/1.061, allocations: 5.274 MB / 1.364 GB, free: 9.184 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/1.061, allocations: 141.5 kB / 1.364 GB, free: 9.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/1.063, allocations: 1.472 MB / 1.366 GB, free: 7.531 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.063, allocations: 45.7 kB / 1.366 GB, free: 7.48 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.064, allocations: 1.859 MB / 1.368 GB, free: 5.594 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/1.065, allocations: 374.8 kB / 1.368 GB, free: 5.223 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007615/1.066, allocations: 463.1 kB / 1.368 GB, free: 4.762 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.066, allocations: 305.1 kB / 1.369 GB, free: 4.461 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.067, allocations: 1.149 MB / 1.37 GB, free: 3.301 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/1.07, allocations: 2.215 MB / 1.372 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/1.074, allocations: 3.438 MB / 1.375 GB, free: 12.65 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/1.074, allocations: 8 kB / 1.375 GB, free: 12.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005161/1.079, allocations: 3.366 MB / 1.379 GB, free: 9.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.079, allocations: 22.03 kB / 1.379 GB, free: 9.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/1.079, allocations: 32.84 kB / 1.379 GB, free: 9.219 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-05/1.079, allocations: 51.94 kB / 1.379 GB, free: 9.168 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.081, allocations: 0.6356 MB / 1.379 GB, free: 8.531 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-05/1.082, allocations: 63.73 kB / 1.379 GB, free: 8.469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.084, allocations: 330.6 kB / 1.38 GB, free: 8.145 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.084, allocations: 116 kB / 1.38 GB, free: 8.031 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003551/1.087, allocations: 2.44 MB / 1.382 GB, free: 5.582 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00213/1.089, allocations: 2.039 MB / 1.384 GB, free: 3.004 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00345/1.093, allocations: 3.068 MB / 1.387 GB, free: 15.44 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.516e-05/1.093, allocations: 12 kB / 1.387 GB, free: 15.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004589/1.098, allocations: 2.976 MB / 1.39 GB, free: 12.44 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.098, allocations: 20 kB / 1.39 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.802e-05/1.098, allocations: 36 kB / 1.39 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/1.098, allocations: 48.72 kB / 1.39 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.1, allocations: 0.5615 MB / 1.391 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.583e-05/1.1, allocations: 75.66 kB / 1.391 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.102, allocations: 267 kB / 1.391 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/1.102, allocations: 112 kB / 1.391 GB, free: 11.33 MB / 1.123 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.0005253/1.102, allocations: 339.2 kB / 1.392 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/1.103, allocations: 154.1 kB / 1.392 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.106, allocations: 2.246 MB / 1.394 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.106, allocations: 19.92 kB / 1.394 GB, free: 8.562 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.106, allocations: 0 / 1.394 GB, free: 8.562 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.106, allocations: 3.984 kB / 1.394 GB, free: 8.559 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.122, allocations: 11 MB / 1.405 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.122, allocations: 15.83 kB / 1.405 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.123, allocations: 387.3 kB / 1.405 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/1.123, allocations: 16 kB / 1.405 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.123, allocations: 28 kB / 1.405 GB, free: 12.87 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.786e-05/1.123, allocations: 23.92 kB / 1.405 GB, free: 12.85 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.123, allocations: 19.94 kB / 1.405 GB, free: 12.83 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/1.127, allocations: 2.763 MB / 1.408 GB, free: 9.902 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.128, allocations: 454.8 kB / 1.408 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/1.128, allocations: 36 kB / 1.408 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.13, allocations: 171.7 kB / 1.409 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.13, allocations: 100.2 kB / 1.409 GB, free: 9.137 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/1.13, allocations: 43.94 kB / 1.409 GB, free: 9.094 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001897/1.132, allocations: 1.005 MB / 1.41 GB, free: 8.09 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.744e-06/1.132, allocations: 0 / 1.41 GB, free: 8.09 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004578/1.136, allocations: 1.137 MB / 1.411 GB, free: 6.953 MB / 1.139 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.00384/1.14, allocations: 3.348 MB / 1.414 GB, free: 3.438 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006709/1.147, allocations: 4.075 MB / 1.418 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.147, allocations: 0 / 1.418 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.148, allocations: 1.055 MB / 1.419 GB, free: 14.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.151, allocations: 457.7 kB / 1.419 GB, free: 13.91 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/1.188, allocations: 21.81 MB / 1.441 GB, free: 6.645 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004329/1.192, allocations: 2.864 MB / 1.444 GB, free: 3.75 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003005/1.195, allocations: 1.231 MB / 1.445 GB, free: 2.512 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.197, allocations: 1.272 MB / 1.446 GB, free: 1.238 MB / 1.17 GB Notification: Performance of SimCode: time 1.182e-06/1.197, allocations: 3.938 kB / 1.446 GB, free: 1.234 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/1.277, allocations: 47.89 MB / 1.493 GB, free: 1.762 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/11.37, allocations: 15.59 kB / 1.493 GB, free: 1.75 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches