Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.000925/0.0009251, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001183/0.001183, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.595/2.595, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 16 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8379, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006619/0.8446, allocations: 6.053 MB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.8494, allocations: 2.891 MB / 0.9626 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.8501, allocations: 24.09 kB / 0.9626 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.8505, allocations: 136.9 kB / 0.9627 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.8516, allocations: 416.6 kB / 0.9631 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.8525, allocations: 338 kB / 0.9635 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.8541, allocations: 1.329 MB / 0.9648 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.856, allocations: 0.9323 MB / 0.9657 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008794/0.8568, allocations: 394.2 kB / 0.966 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007758/0.8576, allocations: 485.6 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.8577, allocations: 35.38 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.8584, allocations: 190.8 kB / 0.9667 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.8588, allocations: 270.4 kB / 0.967 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.859, allocations: 178.5 kB / 0.9672 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.86, allocations: 0.8984 MB / 0.968 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.86, allocations: 0 / 0.968 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.86, allocations: 4 kB / 0.968 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.86, allocations: 1.281 kB / 0.968 GB, free: 13.63 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001734/0.8617, allocations: 1.023 MB / 0.969 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.8618, allocations: 9.219 kB / 0.969 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.862, allocations: 125.7 kB / 0.9692 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.8635, allocations: 234 kB / 0.9694 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.8645, allocations: 0.5451 MB / 0.9699 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.8646, allocations: 46.98 kB / 0.97 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.8647, allocations: 69.69 kB / 0.97 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.8665, allocations: 1.075 MB / 0.9711 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.8665, allocations: 6.719 kB / 0.9711 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.8666, allocations: 37.38 kB / 0.9711 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.8668, allocations: 84.75 kB / 0.9712 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.8681, allocations: 0.7442 MB / 0.9719 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/0.8739, allocations: 5.898 MB / 0.9777 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.875, allocations: 0.5525 MB / 0.9782 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.8755, allocations: 328.4 kB / 0.9785 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.8756, allocations: 5.438 kB / 0.9786 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8756, allocations: 37.19 kB / 0.9786 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.8756, allocations: 0 / 0.9786 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004167/0.8798, allocations: 1.997 MB / 0.9805 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.8798, allocations: 57.31 kB / 0.9806 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.8806, allocations: 0.5537 MB / 0.9811 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.8806, allocations: 37.36 kB / 0.9812 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.8809, allocations: 423.7 kB / 0.9816 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.8811, allocations: 168.5 kB / 0.9817 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.8811, allocations: 10.62 kB / 0.9817 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8813, allocations: 381.6 kB / 0.9821 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.8817, allocations: 272.7 kB / 0.9824 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.8822, allocations: 489 kB / 0.9828 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.8827, allocations: 346 kB / 0.9832 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8827, allocations: 4 kB / 0.9832 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001682/0.8844, allocations: 1.079 MB / 0.9842 GB, free: 92 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.8844, allocations: 8.125 kB / 0.9842 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.8845, allocations: 15.98 kB / 0.9842 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.8853, allocations: 279.2 kB / 0.9845 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.8858, allocations: 123.8 kB / 0.9846 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.8921, allocations: 6.595 MB / 0.9911 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008968/0.893, allocations: 39.95 kB / 0.9911 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.8931, allocations: 28 kB / 0.9911 GB, free: 8.465 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006012/0.8937, allocations: 257.6 kB / 0.9914 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.8938, allocations: 75.11 kB / 0.9914 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.8955, allocations: 0.8847 MB / 0.9923 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.8955, allocations: 8 kB / 0.9923 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8955, allocations: 4 kB / 0.9923 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.8955, allocations: 7.922 kB / 0.9923 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.8984, allocations: 1.72 MB / 0.994 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.8984, allocations: 0 / 0.994 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.8986, allocations: 63.88 kB / 0.9941 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007258/0.8994, allocations: 267.4 kB / 0.9943 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.8994, allocations: 8 kB / 0.9943 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006338/0.9058, allocations: 6.584 MB / 1.001 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9058, allocations: 0 / 1.001 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.9074, allocations: 0.9911 MB / 1.002 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.9077, allocations: 192.2 kB / 1.002 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.9078, allocations: 15.94 kB / 1.002 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.9082, allocations: 27.97 kB / 1.002 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.9083, allocations: 43.95 kB / 1.002 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.9083, allocations: 15.98 kB / 1.002 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004211/0.9087, allocations: 383.1 kB / 1.002 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9087, allocations: 0 / 1.002 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000898/0.9096, allocations: 224 kB / 1.003 GB, free: 11.99 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/0.9114, allocations: 1.54 MB / 1.004 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.9133, allocations: 1.275 MB / 1.005 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9133, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.9145, allocations: 0.8855 MB / 1.006 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.9156, allocations: 210.3 kB / 1.006 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.9218, allocations: 4.415 MB / 1.011 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.9224, allocations: 1.012 MB / 1.012 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004941/0.923, allocations: 126 kB / 1.012 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.9233, allocations: 247.4 kB / 1.012 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of SimCode: time 1.242e-06/0.9233, allocations: 0 / 1.012 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.9549, allocations: 16.35 MB / 1.028 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.9551, allocations: 218 kB / 1.028 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.047, allocations: 4 kB / 1.028 GB, free: 1.68 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat