Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.96 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.00105/0.00105, allocations: 161 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.536/1.536, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001061/0.001061, allocations: 99.75 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.182e-05, allocations: 5.953 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3155, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.442, allocations: 178.1 MB / 1.386 GB, free: 16.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.443, allocations: 91.97 kB / 1.386 GB, free: 16.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4356/1.878, allocations: 174.2 MB / 1.557 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.539e-06/1.878, allocations: 0 / 1.557 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005612/1.879, allocations: 99.92 kB / 1.557 GB, free: 5.781 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01599/1.895, allocations: 3.33 MB / 1.56 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.895, allocations: 12.03 kB / 1.56 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007849/1.903, allocations: 1.037 MB / 1.561 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/1.91, allocations: 2.626 MB / 1.564 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/1.911, allocations: 116 kB / 1.564 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/1.913, allocations: 208 kB / 1.564 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01093/1.924, allocations: 4.42 MB / 1.568 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.941, allocations: 6.082 MB / 1.574 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/1.941, allocations: 23.81 kB / 1.574 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/1.943, allocations: 8 kB / 1.574 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/1.944, allocations: 383.3 kB / 1.574 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/1.991, allocations: 31.34 MB / 1.605 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/1.995, allocations: 2.099 MB / 1.607 GB, free: 14.87 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/1.998, allocations: 2.162 MB / 1.609 GB, free: 12.71 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.998, allocations: 25.28 kB / 1.609 GB, free: 12.68 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/1.998, allocations: 51.88 kB / 1.609 GB, free: 12.62 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 5.791e-06/1.998, allocations: 0 / 1.609 GB, free: 12.62 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.06455/2.063, allocations: 21.94 MB / 1.631 GB, free: 6.633 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/2.063, allocations: 77.41 kB / 1.631 GB, free: 6.543 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/2.066, allocations: 1.241 MB / 1.632 GB, free: 5.305 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0007431/2.067, allocations: 25.7 kB / 1.632 GB, free: 5.273 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/2.068, allocations: 1.735 MB / 1.634 GB, free: 3.516 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/2.07, allocations: 0.8197 MB / 1.635 GB, free: 2.684 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006019/2.07, allocations: 0 / 1.635 GB, free: 2.684 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000278/2.071, allocations: 403.1 kB / 1.635 GB, free: 2.285 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/2.075, allocations: 2.71 MB / 1.638 GB, free: 15.57 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/2.079, allocations: 3.225 MB / 1.641 GB, free: 12.13 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006083/2.086, allocations: 3.378 MB / 1.644 GB, free: 8.75 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/2.086, allocations: 4 kB / 1.644 GB, free: 8.746 MB / 1.057 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0257/2.111, allocations: 12.01 MB / 1.656 GB, free: 12.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/2.111, allocations: 9.406 kB / 1.656 GB, free: 12.69 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/2.111, allocations: 20.05 kB / 1.656 GB, free: 12.67 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02409/2.136, allocations: 7.892 MB / 1.664 GB, free: 4.758 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/2.137, allocations: 287.5 kB / 1.664 GB, free: 4.477 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05453/2.192, allocations: 31.32 MB / 1.694 GB, free: 4.699 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/2.195, allocations: 123.7 kB / 1.694 GB, free: 4.578 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/2.196, allocations: 267.8 kB / 1.695 GB, free: 4.316 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001313/2.198, allocations: 140.5 kB / 1.695 GB, free: 4.172 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02703/2.225, allocations: 11.57 MB / 1.706 GB, free: 8.562 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/2.226, allocations: 241.1 kB / 1.706 GB, free: 8.324 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02964/2.256, allocations: 12.16 MB / 1.718 GB, free: 12.12 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-05/2.256, allocations: 24 kB / 1.718 GB, free: 12.09 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-05/2.256, allocations: 27.95 kB / 1.718 GB, free: 12.07 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-05/2.256, allocations: 11.95 kB / 1.718 GB, free: 12.05 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04328/2.3, allocations: 17.59 MB / 1.736 GB, free: 10.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.888e-05/2.3, allocations: 8 kB / 1.736 GB, free: 10.28 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/2.301, allocations: 163.7 kB / 1.736 GB, free: 10.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02526/2.326, allocations: 7.815 MB / 1.743 GB, free: 2.285 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008405/2.327, allocations: 87.8 kB / 1.743 GB, free: 2.199 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8174/3.144, allocations: 30.89 MB / 1.774 GB, free: 310.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-05/3.144, allocations: 8.938 kB / 1.774 GB, free: 310.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02863/3.173, allocations: 12.28 MB / 1.786 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/3.176, allocations: 0.993 MB / 1.787 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008088/3.176, allocations: 19.41 kB / 1.787 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/3.178, allocations: 114.3 kB / 1.787 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/3.18, allocations: 262.2 kB / 1.787 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004625/3.18, allocations: 238.7 kB / 1.787 GB, free: 309.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001633/3.182, allocations: 0.9342 MB / 1.788 GB, free: 309.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/3.182, allocations: 0 / 1.788 GB, free: 309.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006104/3.188, allocations: 1.14 MB / 1.789 GB, free: 309.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02982/3.218, allocations: 16.36 MB / 1.805 GB, free: 305.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01751/3.235, allocations: 9.052 MB / 1.814 GB, free: 305 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/3.235, allocations: 6.969 kB / 1.814 GB, free: 305 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/3.25, allocations: 5.819 MB / 1.82 GB, free: 304.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/3.253, allocations: 423.8 kB / 1.82 GB, free: 304.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/3.274, allocations: 8.347 MB / 1.828 GB, free: 302.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/3.278, allocations: 3.195 MB / 1.831 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00128/3.279, allocations: 378.2 kB / 1.832 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/3.28, allocations: 1.445 MB / 1.833 GB, free: 299.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.585e-06/3.28, allocations: 3.812 kB / 1.833 GB, free: 299.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/3.447, allocations: 96.77 MB / 1.928 GB, free: 257.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/3.448, allocations: 180.1 kB / 1.928 GB, free: 257.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.352/7.8, allocations: 1.688 kB / 1.928 GB, free: 257.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat