Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.425/2.425, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001108/0.001108, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001203/0.001203, allocations: 91.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.468e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.275, allocations: 172.4 MB / 1.387 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.275, allocations: 94.94 kB / 1.387 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1038/1.379, allocations: 39.99 MB / 1.426 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.744e-06/1.379, allocations: 0 / 1.426 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.621e-05/1.379, allocations: 20 kB / 1.426 GB, free: 13.02 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001817/1.381, allocations: 0.9541 MB / 1.427 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.381, allocations: 8.031 kB / 1.427 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/1.381, allocations: 121.4 kB / 1.427 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/1.383, allocations: 242.6 kB / 1.428 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/1.384, allocations: 0.5296 MB / 1.428 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/1.384, allocations: 53.23 kB / 1.428 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.384, allocations: 59.56 kB / 1.428 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.385, allocations: 1.121 MB / 1.429 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.385, allocations: 7.938 kB / 1.429 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/1.386, allocations: 31.06 kB / 1.429 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/1.386, allocations: 56.59 kB / 1.429 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/1.387, allocations: 0.7329 MB / 1.43 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/1.393, allocations: 5.917 MB / 1.436 GB, free: 3.289 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/1.394, allocations: 0.5451 MB / 1.437 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/1.394, allocations: 326.1 kB / 1.437 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/1.395, allocations: 4.438 kB / 1.437 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/1.395, allocations: 39 kB / 1.437 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 2.325e-06/1.395, allocations: 4 kB / 1.437 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.002352/1.397, allocations: 1.229 MB / 1.438 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.397, allocations: 55.84 kB / 1.438 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.398, allocations: 487.4 kB / 1.439 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/1.398, allocations: 33.7 kB / 1.439 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.398, allocations: 399.2 kB / 1.439 GB, free: 124 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/1.398, allocations: 173.8 kB / 1.439 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/1.398, allocations: 16 kB / 1.439 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.398, allocations: 366.8 kB / 1.44 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/1.399, allocations: 269.5 kB / 1.44 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/1.399, allocations: 468.1 kB / 1.44 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/1.4, allocations: 327.1 kB / 1.441 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.4, allocations: 4 kB / 1.441 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001856/1.402, allocations: 1.048 MB / 1.442 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.402, allocations: 8 kB / 1.442 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.402, allocations: 8 kB / 1.442 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008525/1.403, allocations: 275.3 kB / 1.442 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/1.403, allocations: 119.8 kB / 1.442 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/1.41, allocations: 6.584 MB / 1.448 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009417/1.411, allocations: 35.95 kB / 1.448 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/1.411, allocations: 32 kB / 1.448 GB, free: 5.781 MB / 0.9011 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 (63): * Single equations (assignments): 59 * 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.0002604/1.411, allocations: 140.9 kB / 1.449 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.411, allocations: 71.16 kB / 1.449 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/1.413, allocations: 0.8844 MB / 1.45 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.413, allocations: 4 kB / 1.45 GB, free: 4.652 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.413, allocations: 4 kB / 1.45 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.413, allocations: 0 / 1.45 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/1.416, allocations: 1.702 MB / 1.451 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.416, allocations: 0 / 1.451 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/1.416, allocations: 63.89 kB / 1.451 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000769/1.417, allocations: 271.5 kB / 1.452 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/1.417, allocations: 12 kB / 1.452 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/1.424, allocations: 6.565 MB / 1.458 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.424, allocations: 8.359 kB / 1.458 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.425, allocations: 1.04 MB / 1.459 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/1.426, allocations: 192.2 kB / 1.459 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/1.426, allocations: 12 kB / 1.459 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.426, allocations: 27.95 kB / 1.459 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.426, allocations: 51.88 kB / 1.459 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/1.426, allocations: 16 kB / 1.459 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004666/1.427, allocations: 379.2 kB / 1.46 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.427, allocations: 0 / 1.46 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008762/1.428, allocations: 232 kB / 1.46 GB, free: 9.371 MB / 0.9167 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 () * 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002166/1.43, allocations: 2.012 MB / 1.462 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002037/1.432, allocations: 1.243 MB / 1.463 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.432, allocations: 4 kB / 1.463 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.433, allocations: 0.8733 MB / 1.464 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.434, allocations: 200.2 kB / 1.464 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/1.437, allocations: 1.14 MB / 1.465 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.437, allocations: 1.032 MB / 1.466 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004391/1.438, allocations: 118 kB / 1.466 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/1.438, allocations: 255.3 kB / 1.467 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.438, allocations: 0 / 1.467 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/1.476, allocations: 16.21 MB / 1.482 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/1.477, allocations: 180.6 kB / 1.483 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.068, allocations: 5.766 kB / 1.483 GB, free: 2.098 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat