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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.358/2.358, allocations: 390.5 MB / 398 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 176.9 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.72/1.72, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 91.95 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.628e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3695, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.737, allocations: 191.9 MB / 1.4 GB, free: 8.031 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.737, allocations: 101.5 kB / 1.4 GB, free: 7.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.315/2.052, allocations: 118.5 MB / 1.516 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.585e-06/2.052, allocations: 0 / 1.516 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002729/2.053, allocations: 71.92 kB / 1.516 GB, free: 444 kB / 0.9167 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.01089/2.064, allocations: 2.428 MB / 1.518 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/2.064, allocations: 8.031 kB / 1.518 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/2.069, allocations: 0.7029 MB / 1.519 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/2.074, allocations: 1.597 MB / 1.52 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/2.074, allocations: 92 kB / 1.52 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/2.076, allocations: 175.9 kB / 1.521 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009395/2.086, allocations: 3.202 MB / 1.524 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/2.101, allocations: 4.123 MB / 1.528 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/2.102, allocations: 7.938 kB / 1.528 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/2.103, allocations: 4 kB / 1.528 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/2.103, allocations: 184.7 kB / 1.528 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03577/2.139, allocations: 22.14 MB / 1.55 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/2.142, allocations: 1.518 MB / 1.551 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/2.144, allocations: 1.002 MB / 1.552 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/2.145, allocations: 93.73 kB / 1.552 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/2.145, allocations: 43.11 kB / 1.552 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 4.418e-06/2.145, allocations: 0 / 1.552 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.00753/2.152, allocations: 2.92 MB / 1.555 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/2.152, allocations: 137.1 kB / 1.555 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/2.154, allocations: 0.8083 MB / 1.556 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/2.154, allocations: 25.7 kB / 1.556 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009403/2.155, allocations: 1.208 MB / 1.557 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/2.155, allocations: 264.2 kB / 1.557 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/2.155, allocations: 0 / 1.557 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002404/2.156, allocations: 399 kB / 1.558 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/2.157, allocations: 0.756 MB / 1.559 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/2.158, allocations: 1.226 MB / 1.56 GB, free: 0.5586 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/2.16, allocations: 1.058 MB / 1.561 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/2.16, allocations: 4 kB / 1.561 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00366/2.164, allocations: 2.081 MB / 1.563 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002619/2.166, allocations: 5.498 MB / 1.568 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/2.167, allocations: 16 kB / 1.568 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-05/2.167, allocations: 27.94 kB / 1.568 GB, free: 7.438 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/2.168, allocations: 411.3 kB / 1.569 GB, free: 7.035 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-05/2.168, allocations: 35.86 kB / 1.569 GB, free: 7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/2.17, allocations: 227.2 kB / 1.569 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/2.17, allocations: 64.12 kB / 1.569 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/2.17, allocations: 8 kB / 1.569 GB, free: 6.707 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002937/2.173, allocations: 1.662 MB / 1.571 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/2.173, allocations: 12 kB / 1.571 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/2.173, allocations: 32.03 kB / 1.571 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/2.175, allocations: 368.1 kB / 1.571 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.637e-05/2.175, allocations: 31.88 kB / 1.571 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/2.176, allocations: 151.4 kB / 1.571 GB, free: 4.457 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/2.176, allocations: 56 kB / 1.571 GB, free: 4.402 MB / 0.9792 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003749/2.177, allocations: 144.5 kB / 1.571 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002424/2.179, allocations: 1.415 MB / 1.573 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/2.18, allocations: 90.92 kB / 1.573 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/2.182, allocations: 1.491 MB / 1.574 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/2.182, allocations: 8 kB / 1.574 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.182, allocations: 0 / 1.574 GB, free: 1.23 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/2.182, allocations: 7.984 kB / 1.574 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/2.194, allocations: 6.499 MB / 1.581 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/2.194, allocations: 12.03 kB / 1.581 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/2.195, allocations: 263.5 kB / 1.581 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.05e-05/2.195, allocations: 12 kB / 1.581 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/2.195, allocations: 15.98 kB / 1.581 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/2.195, allocations: 15.94 kB / 1.581 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.948e-05/2.195, allocations: 15.94 kB / 1.581 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/2.199, allocations: 2.412 MB / 1.583 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/2.2, allocations: 367.7 kB / 1.584 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/2.2, allocations: 15.95 kB / 1.584 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/2.201, allocations: 127.8 kB / 1.584 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/2.201, allocations: 75.75 kB / 1.584 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/2.201, allocations: 28 kB / 1.584 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001358/2.203, allocations: 0.6006 MB / 1.584 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/2.203, allocations: 0 / 1.584 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004215/2.207, allocations: 0.7578 MB / 1.585 GB, free: 5.465 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005015/2.212, allocations: 5.54 MB / 1.591 GB, free: 15.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004115/2.216, allocations: 2.515 MB / 1.593 GB, free: 13.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/2.216, allocations: 0 / 1.593 GB, free: 13.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009911/2.217, allocations: 0.7029 MB / 1.594 GB, free: 12.44 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/2.219, allocations: 247.9 kB / 1.594 GB, free: 12.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/2.231, allocations: 4.52 MB / 1.598 GB, free: 7.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/2.235, allocations: 2.165 MB / 1.6 GB, free: 5.316 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00252/2.237, allocations: 0.7728 MB / 1.601 GB, free: 4.539 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/2.238, allocations: 0.8039 MB / 1.602 GB, free: 3.734 MB / 1.01 GB Notification: Performance of SimCode: time 1.373e-06/2.238, allocations: 0 / 1.602 GB, free: 3.734 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/2.31, allocations: 29.92 MB / 1.631 GB, free: 5.957 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/2.311, allocations: 176 kB / 1.631 GB, free: 5.754 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/5.018, allocations: 0 / 1.631 GB, free: 5.754 MB / 1.042 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/linux/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=50 --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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat