Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0007619/0.0007619, allocations: 90.75 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.0008633/0.0008634, 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.34 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.573/2.573, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.000524, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8714, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01392/0.8853, allocations: 13.33 MB / 0.9669 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.9036, allocations: 9.609 MB / 0.9763 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.9063, allocations: 51.22 kB / 0.9763 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.9077, allocations: 269 kB / 0.9766 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.9141, allocations: 1.46 MB / 0.978 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.9161, allocations: 0.5189 MB / 0.9785 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005061/0.9212, allocations: 2.911 MB / 0.9813 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.925, allocations: 1.803 MB / 0.9831 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.9284, allocations: 1.283 MB / 0.9844 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.9305, allocations: 1.043 MB / 0.9854 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.9307, allocations: 72 kB / 0.9854 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.9321, allocations: 439.5 kB / 0.9859 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.9327, allocations: 0.4944 MB / 0.9863 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.9332, allocations: 360.7 kB / 0.9867 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.9356, allocations: 2.127 MB / 0.9888 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9356, allocations: 0 / 0.9888 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9356, allocations: 0 / 0.9888 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.9356, allocations: 0 / 0.9888 GB, free: 12.24 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003312/0.939, allocations: 1.859 MB / 0.9906 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.939, allocations: 8.031 kB / 0.9906 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/0.9393, allocations: 194.2 kB / 0.9908 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.95, allocations: 2.166 MB / 0.9929 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.9527, allocations: 1.166 MB / 0.994 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.9528, allocations: 94.25 kB / 0.9941 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.9531, allocations: 119.9 kB / 0.9942 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/0.9584, allocations: 2.69 MB / 0.9969 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.9585, allocations: 0 / 0.9969 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.9586, allocations: 51.98 kB / 0.9969 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005742/0.9592, allocations: 194.1 kB / 0.9971 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007255/0.9665, allocations: 2.834 MB / 0.9999 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.9812, allocations: 10.56 MB / 1.01 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/0.9869, allocations: 2.383 MB / 1.012 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.9897, allocations: 1.294 MB / 1.014 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.9898, allocations: 12.94 kB / 1.014 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9899, allocations: 43.56 kB / 1.014 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 3.757e-06/0.9899, allocations: 3.938 kB / 1.014 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of matching and sorting (n=153): time 0.05162/1.042, allocations: 16.5 MB / 1.03 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.042, allocations: 72.66 kB / 1.03 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.043, allocations: 1.164 MB / 1.031 GB, free: 15.76 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.043, allocations: 49.7 kB / 1.031 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/1.044, allocations: 0.7398 MB / 1.032 GB, free: 14.96 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/1.045, allocations: 0.5197 MB / 1.032 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.045, allocations: 32 kB / 1.032 GB, free: 14.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.045, allocations: 365.9 kB / 1.033 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.048, allocations: 1.522 MB / 1.034 GB, free: 12.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.051, allocations: 1.795 MB / 1.036 GB, free: 10.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.055, allocations: 1.654 MB / 1.038 GB, free: 8.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.055, allocations: 0 / 1.038 GB, free: 8.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01231/1.067, allocations: 5.297 MB / 1.043 GB, free: 3.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.067, allocations: 8 kB / 1.043 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.067, allocations: 8 kB / 1.043 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006348/1.074, allocations: 1.892 MB / 1.045 GB, free: 1.703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/1.076, allocations: 427.2 kB / 1.045 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/1.103, allocations: 22.14 MB / 1.067 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/1.105, allocations: 311.6 kB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/1.106, allocations: 79.91 kB / 1.067 GB, free: 9.699 MB / 0.8262 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009659/1.107, allocations: 462.6 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/1.107, allocations: 177.8 kB / 1.068 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.12, allocations: 5.347 MB / 1.073 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.12, allocations: 16 kB / 1.073 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-05/1.12, allocations: 16 kB / 1.073 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.12, allocations: 11.97 kB / 1.073 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.137, allocations: 7.457 MB / 1.08 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.137, allocations: 4.344 kB / 1.08 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.138, allocations: 367.3 kB / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005961/1.144, allocations: 1.695 MB / 1.082 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/1.145, allocations: 43.97 kB / 1.082 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.169, allocations: 21.34 MB / 1.103 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.17, allocations: 0 / 1.103 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.181, allocations: 4.913 MB / 1.108 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.183, allocations: 494.8 kB / 1.108 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/1.183, allocations: 32 kB / 1.108 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.185, allocations: 331.5 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.186, allocations: 153 kB / 1.109 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.186, allocations: 55.97 kB / 1.109 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001292/1.187, allocations: 0.7782 MB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.187, allocations: 0 / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00258/1.19, allocations: 0.6523 MB / 1.11 GB, free: 12.02 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/1.202, allocations: 5.504 MB / 1.116 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.214, allocations: 5.18 MB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.214, allocations: 0 / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006925/1.221, allocations: 3.37 MB / 1.124 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.224, allocations: 0.5179 MB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/1.258, allocations: 16.17 MB / 1.14 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/1.26, allocations: 1.572 MB / 1.142 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002129/1.262, allocations: 386.4 kB / 1.142 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.263, allocations: 0.6593 MB / 1.143 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/1.263, allocations: 0 / 1.143 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/1.359, allocations: 56.14 MB / 1.198 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/1.359, allocations: 246.3 kB / 1.198 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/4.685, allocations: 8 kB / 1.198 GB, free: 1.969 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat