Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.481/2.481, allocations: 390.5 MB / 398 MB, free: 10.94 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.001169/0.001169, allocations: 188.1 kB / 491.2 MB, free: 1.562 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.601/1.601, 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.0008723/0.0008723, allocations: 95.81 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.764e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9089/1.159, allocations: 191.6 MB / 1.4 GB, free: 8.691 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.16, allocations: 92.56 kB / 1.4 GB, free: 8.641 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2051/1.365, allocations: 83.13 MB / 1.481 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.242e-06/1.365, allocations: 0 / 1.481 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001163/1.365, allocations: 39.98 kB / 1.481 GB, free: 2.691 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002928/1.368, allocations: 1.537 MB / 1.482 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.368, allocations: 8.031 kB / 1.482 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.378, allocations: 1.803 MB / 1.484 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/1.381, allocations: 1.136 MB / 1.485 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/1.381, allocations: 40 kB / 1.485 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/1.381, allocations: 67.91 kB / 1.485 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002281/1.383, allocations: 1.437 MB / 1.487 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/1.386, allocations: 1.874 MB / 1.489 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/1.386, allocations: 19.02 kB / 1.489 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.386, allocations: 4 kB / 1.489 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.386, allocations: 78 kB / 1.489 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/1.4, allocations: 9.924 MB / 1.498 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/1.402, allocations: 1.109 MB / 1.499 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/1.403, allocations: 0.5723 MB / 1.5 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/1.403, allocations: 12.39 kB / 1.5 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.403, allocations: 43 kB / 1.5 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 3.377e-06/1.403, allocations: 0 / 1.5 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.009024/1.412, allocations: 3.881 MB / 1.504 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.412, allocations: 214.4 kB / 1.504 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.414, allocations: 0.746 MB / 1.505 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.414, allocations: 33.7 kB / 1.505 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/1.414, allocations: 0.733 MB / 1.505 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.415, allocations: 275.9 kB / 1.506 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/1.415, allocations: 0 / 1.506 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.415, allocations: 342 kB / 1.506 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/1.416, allocations: 0.6781 MB / 1.507 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.417, allocations: 0.9072 MB / 1.508 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.418, allocations: 0.7734 MB / 1.508 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.418, allocations: 0 / 1.508 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00496/1.423, allocations: 2.426 MB / 1.511 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.423, allocations: 16.11 kB / 1.511 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.423, allocations: 4.062 kB / 1.511 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/1.426, allocations: 0.834 MB / 1.512 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.428, allocations: 415.3 kB / 1.512 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.443, allocations: 14.32 MB / 1.526 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/1.446, allocations: 283.6 kB / 1.526 GB, free: 3.793 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.446, allocations: 51.95 kB / 1.526 GB, free: 3.742 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003631/1.446, allocations: 132.7 kB / 1.526 GB, free: 3.605 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004564/1.451, allocations: 2.234 MB / 1.529 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.451, allocations: 130.5 kB / 1.529 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/1.456, allocations: 2.423 MB / 1.531 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.456, allocations: 8 kB / 1.531 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.456, allocations: 12 kB / 1.531 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.456, allocations: 3.984 kB / 1.531 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/1.464, allocations: 4.015 MB / 1.535 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.464, allocations: 3.938 kB / 1.535 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.466, allocations: 371.7 kB / 1.535 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/1.468, allocations: 0.7526 MB / 1.536 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-05/1.469, allocations: 15.97 kB / 1.536 GB, free: 9.445 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/1.483, allocations: 13.94 MB / 1.55 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.483, allocations: 7.969 kB / 1.55 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/1.487, allocations: 2.427 MB / 1.552 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/1.488, allocations: 375.4 kB / 1.552 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.488, allocations: 4 kB / 1.552 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.49, allocations: 291.5 kB / 1.553 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.491, allocations: 88.56 kB / 1.553 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/1.491, allocations: 35.97 kB / 1.553 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008403/1.492, allocations: 0.5602 MB / 1.553 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.3e-07/1.492, allocations: 0 / 1.553 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001645/1.493, allocations: 415.9 kB / 1.554 GB, free: 6.25 MB / 0.9636 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 () * 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%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005058/1.498, allocations: 3.742 MB / 1.557 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004652/1.503, allocations: 2.749 MB / 1.56 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.503, allocations: 4.125 kB / 1.56 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003028/1.506, allocations: 1.891 MB / 1.562 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.508, allocations: 418 kB / 1.562 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/1.516, allocations: 2.956 MB / 1.565 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.518, allocations: 1.419 MB / 1.567 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001674/1.519, allocations: 362.5 kB / 1.567 GB, free: 8.316 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008504/1.52, allocations: 0.5812 MB / 1.568 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of SimCode: time 8.61e-07/1.52, allocations: 0 / 1.568 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07513/1.595, allocations: 37.22 MB / 1.604 GB, free: 2.891 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.596, allocations: 153.5 kB / 1.604 GB, free: 2.691 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.59, allocations: 0 / 1.604 GB, free: 2.691 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat