Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.423/2.423, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001121/0.001121, allocations: 172.9 kB / 496.1 MB, free: 12.9 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.603/1.603, allocations: 221.3 MB / 0.7915 GB, free: 5.492 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.001114/0.001114, allocations: 103.5 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.682e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.274, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9841/1.258, allocations: 173.6 MB / 1.388 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.259, allocations: 93.62 kB / 1.388 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/1.36, allocations: 40.21 MB / 1.428 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/1.36, allocations: 0 / 1.428 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.873e-05/1.36, allocations: 20 kB / 1.428 GB, free: 11.84 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001651/1.362, allocations: 0.8712 MB / 1.429 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.362, allocations: 8.031 kB / 1.429 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/1.362, allocations: 117 kB / 1.429 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/1.363, allocations: 214.8 kB / 1.429 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.365, allocations: 0.5331 MB / 1.429 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/1.365, allocations: 48.8 kB / 1.429 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.365, allocations: 67.97 kB / 1.43 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/1.366, allocations: 1.073 MB / 1.431 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/1.366, allocations: 15.83 kB / 1.431 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/1.366, allocations: 29.42 kB / 1.431 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-05/1.366, allocations: 57.16 kB / 1.431 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.367, allocations: 0.674 MB / 1.431 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005863/1.373, allocations: 5.779 MB / 1.437 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.374, allocations: 0.5944 MB / 1.438 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/1.375, allocations: 385.4 kB / 1.438 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/1.375, allocations: 4 kB / 1.438 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.375, allocations: 46.28 kB / 1.438 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=41): time 2.796e-06/1.375, allocations: 0 / 1.438 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42): time 0.002649/1.378, allocations: 1.208 MB / 1.439 GB, free: 100 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/1.378, allocations: 59.34 kB / 1.439 GB, free: 28 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/1.379, allocations: 392.7 kB / 1.44 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/1.379, allocations: 33.64 kB / 1.44 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/1.379, allocations: 379.1 kB / 1.44 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/1.379, allocations: 153.8 kB / 1.44 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/1.379, allocations: 12 kB / 1.44 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.379, allocations: 366.7 kB / 1.44 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/1.38, allocations: 233 kB / 1.441 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/1.38, allocations: 425.4 kB / 1.441 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/1.381, allocations: 299.7 kB / 1.441 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.381, allocations: 0 / 1.441 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001909/1.383, allocations: 1.012 MB / 1.442 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/1.383, allocations: 4 kB / 1.442 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.383, allocations: 8 kB / 1.442 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/1.384, allocations: 319.7 kB / 1.443 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/1.384, allocations: 91.83 kB / 1.443 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/1.391, allocations: 7.082 MB / 1.45 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.392, allocations: 31.97 kB / 1.45 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/1.392, allocations: 24 kB / 1.45 GB, free: 4.516 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.392, allocations: 136.7 kB / 1.45 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.392, allocations: 63.34 kB / 1.45 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/1.394, allocations: 0.8881 MB / 1.451 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.394, allocations: 4 kB / 1.451 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.394, allocations: 4.188 kB / 1.451 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.394, allocations: 3.984 kB / 1.451 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/1.397, allocations: 1.851 MB / 1.453 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.397, allocations: 4 kB / 1.453 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.397, allocations: 47.84 kB / 1.453 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/1.398, allocations: 283.4 kB / 1.453 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.398, allocations: 12 kB / 1.453 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/1.404, allocations: 6.821 MB / 1.46 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.404, allocations: 0 / 1.46 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.406, allocations: 1.005 MB / 1.461 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/1.407, allocations: 172.4 kB / 1.461 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/1.407, allocations: 4 kB / 1.461 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/1.407, allocations: 23.97 kB / 1.461 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.407, allocations: 35.95 kB / 1.461 GB, free: 8.344 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/1.407, allocations: 8 kB / 1.461 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003714/1.407, allocations: 309.5 kB / 1.461 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.867e-06/1.407, allocations: 0 / 1.461 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000904/1.408, allocations: 203.9 kB / 1.461 GB, free: 7.836 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002067/1.41, allocations: 1.964 MB / 1.463 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.412, allocations: 1.151 MB / 1.464 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.412, allocations: 0 / 1.464 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.414, allocations: 0.8268 MB / 1.465 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.415, allocations: 172.7 kB / 1.465 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.417, allocations: 1.046 MB / 1.466 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/1.417, allocations: 1.008 MB / 1.467 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003398/1.418, allocations: 105.2 kB / 1.467 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.418, allocations: 227.4 kB / 1.468 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of SimCode: time 1.523e-06/1.418, allocations: 0 / 1.468 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/1.451, allocations: 14.02 MB / 1.481 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.452, allocations: 176.6 kB / 1.482 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.908, allocations: 0 / 1.482 GB, free: 3.109 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat