Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_N,fileNamePrefix="Buildings_latest_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_latest_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.006841/0.006841, allocations: 102 kB / 15.73 MB, free: 6.062 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.00153/0.00153, allocations: 192 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.432/2.432, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 67.89 kB / 1.083 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7998, allocations: 162.3 MB / 1.242 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02678/0.8266, allocations: 20.44 MB / 1.262 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.8396, allocations: 7.689 MB / 1.269 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.841, allocations: 67.81 kB / 1.269 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.8444, allocations: 1.349 MB / 1.271 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.8467, allocations: 1.003 MB / 1.272 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004733/0.8515, allocations: 1.998 MB / 1.274 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005491/0.857, allocations: 4.32 MB / 1.278 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00883/0.8658, allocations: 6.16 MB / 1.284 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.8686, allocations: 1.839 MB / 1.286 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.8723, allocations: 2.197 MB / 1.288 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.8734, allocations: 428 kB / 1.288 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.8757, allocations: 0.9441 MB / 1.289 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002368/0.8781, allocations: 1.649 MB / 1.291 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.8812, allocations: 1.724 MB / 1.292 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.8876, allocations: 6.201 MB / 1.298 GB, free: 6.945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8876, allocations: 0 / 1.298 GB, free: 6.945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8876, allocations: 0 / 1.298 GB, free: 6.945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.673e-05/0.8877, allocations: 0 / 1.298 GB, free: 6.945 MB / 1.014 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.00525/0.893, allocations: 3.125 MB / 1.302 GB, free: 3.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.893, allocations: 12.03 kB / 1.302 GB, free: 3.742 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000576/0.8936, allocations: 442 kB / 1.302 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.8971, allocations: 0.7677 MB / 1.303 GB, free: 2.531 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.8996, allocations: 1.571 MB / 1.304 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.8997, allocations: 214.2 kB / 1.304 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.9002, allocations: 284.3 kB / 1.305 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/0.9083, allocations: 5.086 MB / 1.31 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.9083, allocations: 11.94 kB / 1.31 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.9087, allocations: 132 kB / 1.31 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.9089, allocations: 204.6 kB / 1.31 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006541/0.9154, allocations: 4.229 MB / 1.314 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/0.9423, allocations: 22.96 MB / 1.337 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.9453, allocations: 1.735 MB / 1.338 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.9472, allocations: 1.142 MB / 1.339 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.9474, allocations: 109.7 kB / 1.339 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.9474, allocations: 43.22 kB / 1.34 GB, free: 10.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.9475, allocations: 0 / 1.34 GB, free: 10.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.007255/0.9547, allocations: 4.118 MB / 1.344 GB, free: 6.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.9548, allocations: 145.1 kB / 1.344 GB, free: 6.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.9561, allocations: 0.8644 MB / 1.345 GB, free: 5.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.9562, allocations: 37.7 kB / 1.345 GB, free: 5.137 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/0.9571, allocations: 1.197 MB / 1.346 GB, free: 3.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.9574, allocations: 333.2 kB / 1.346 GB, free: 3.598 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004846/0.9579, allocations: 278.7 kB / 1.346 GB, free: 3.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002677/0.9581, allocations: 410.7 kB / 1.347 GB, free: 2.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.9595, allocations: 0.8296 MB / 1.348 GB, free: 2.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.9612, allocations: 1.306 MB / 1.349 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.9643, allocations: 2.163 MB / 1.351 GB, free: 14.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.9643, allocations: 4 kB / 1.351 GB, free: 14.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003647/0.968, allocations: 2.215 MB / 1.353 GB, free: 11.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.968, allocations: 14.19 kB / 1.353 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.968, allocations: 16 kB / 1.353 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.854e-05/0.9681, allocations: 20.81 kB / 1.353 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.9697, allocations: 411.4 kB / 1.354 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.707e-05/0.9698, allocations: 35.8 kB / 1.354 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.9712, allocations: 215.4 kB / 1.354 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.9713, allocations: 71.97 kB / 1.354 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002658/0.974, allocations: 1.677 MB / 1.355 GB, free: 9.523 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.9756, allocations: 1.19 MB / 1.357 GB, free: 8.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00264/0.9783, allocations: 1.906 MB / 1.358 GB, free: 5.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.525e-05/0.9783, allocations: 4 kB / 1.358 GB, free: 5.977 MB / 1.076 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003335/0.9817, allocations: 1.934 MB / 1.36 GB, free: 4.031 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.9817, allocations: 8 kB / 1.36 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.9817, allocations: 16 kB / 1.36 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.9818, allocations: 27.98 kB / 1.36 GB, free: 3.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.9832, allocations: 363.3 kB / 1.361 GB, free: 3.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.601e-05/0.9832, allocations: 27.92 kB / 1.361 GB, free: 3.598 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.9845, allocations: 183.5 kB / 1.361 GB, free: 3.418 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9847, allocations: 63.98 kB / 1.361 GB, free: 3.355 MB / 1.076 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.000383/0.9851, allocations: 268.2 kB / 1.361 GB, free: 3.086 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.9853, allocations: 103.5 kB / 1.361 GB, free: 2.984 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.9883, allocations: 1.85 MB / 1.363 GB, free: 1.125 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.9883, allocations: 16 kB / 1.363 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9883, allocations: 0 / 1.363 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.9883, allocations: 7.922 kB / 1.363 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.001, allocations: 9.596 MB / 1.373 GB, free: 7.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.001, allocations: 12.22 kB / 1.373 GB, free: 7.238 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.002, allocations: 307.5 kB / 1.373 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-05/1.002, allocations: 19.98 kB / 1.373 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/1.002, allocations: 32 kB / 1.373 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-05/1.002, allocations: 23.88 kB / 1.373 GB, free: 6.863 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.002, allocations: 19.88 kB / 1.373 GB, free: 6.844 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/1.005, allocations: 2.41 MB / 1.375 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/1.006, allocations: 380.1 kB / 1.376 GB, free: 3.887 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/1.006, allocations: 35.98 kB / 1.376 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.007, allocations: 143.7 kB / 1.376 GB, free: 3.711 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/1.007, allocations: 95.61 kB / 1.376 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/1.008, allocations: 32 kB / 1.376 GB, free: 3.586 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009824/1.009, allocations: 0.6122 MB / 1.377 GB, free: 2.977 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.009, allocations: 4 kB / 1.377 GB, free: 2.973 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002565/1.011, allocations: 0.7539 MB / 1.377 GB, free: 2.219 MB / 1.092 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.003353/1.014, allocations: 2.986 MB / 1.38 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004471/1.019, allocations: 2.905 MB / 1.383 GB, free: 12.16 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.019, allocations: 4.094 kB / 1.383 GB, free: 12.16 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.02, allocations: 0.9112 MB / 1.384 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.022, allocations: 314.2 kB / 1.384 GB, free: 10.96 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.049, allocations: 15.3 MB / 1.399 GB, free: 10.86 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/1.053, allocations: 2.127 MB / 1.401 GB, free: 8.691 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002226/1.055, allocations: 0.7422 MB / 1.402 GB, free: 7.945 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.057, allocations: 0.8273 MB / 1.403 GB, free: 7.117 MB / 1.123 GB Notification: Performance of SimCode: time 1.282e-06/1.057, allocations: 0 / 1.403 GB, free: 7.117 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.04/3.097, allocations: 32.85 MB / 1.435 GB, free: 6.598 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/16.97, allocations: 11.64 kB / 1.435 GB, free: 6.59 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches