Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001587/0.001587, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001688/0.001688, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.622/2.622, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.739/4.739, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.0006938, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455/1.455, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.0109/1.466, allocations: 4.621 MB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007502/1.474, allocations: 2.472 MB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/1.475, allocations: 23.81 kB / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005654/1.476, allocations: 91.36 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/1.478, allocations: 323 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/1.479, allocations: 303.2 kB / 0.9885 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001715/1.481, allocations: 0.5747 MB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/1.483, allocations: 0.7389 MB / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/1.485, allocations: 286.9 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/1.486, allocations: 306.8 kB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/1.486, allocations: 24 kB / 0.9904 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/1.487, allocations: 151.8 kB / 0.9905 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004412/1.487, allocations: 207.4 kB / 0.9907 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/1.488, allocations: 141.3 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/1.489, allocations: 0.6879 MB / 0.9915 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.489, allocations: 0 / 0.9915 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.24e-06/1.489, allocations: 0 / 0.9915 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.555e-05/1.489, allocations: 0 / 0.9915 GB, free: 11.28 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002742/1.492, allocations: 0.8412 MB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 9.933e-05/1.492, allocations: 8.031 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/1.493, allocations: 98.5 kB / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/1.495, allocations: 187 kB / 0.9926 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.496, allocations: 469.5 kB / 0.9931 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.624e-05/1.496, allocations: 40.98 kB / 0.9931 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/1.497, allocations: 67.81 kB / 0.9932 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/1.499, allocations: 0.8161 MB / 0.994 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/1.499, allocations: 7.938 kB / 0.994 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.499, allocations: 23.98 kB / 0.994 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/1.499, allocations: 68.95 kB / 0.9941 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.501, allocations: 0.5658 MB / 0.9946 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008862/1.51, allocations: 4.585 MB / 0.9991 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.511, allocations: 303.2 kB / 0.9994 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/1.511, allocations: 288 / 0.9994 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/1.511, allocations: 34.84 kB / 0.9994 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 3.686e-06/1.511, allocations: 4 kB / 0.9994 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.01036/1.522, allocations: 2.634 MB / 1.002 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.522, allocations: 55.41 kB / 1.002 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.523, allocations: 457.9 kB / 1.003 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.401e-05/1.523, allocations: 33.7 kB / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/1.524, allocations: 339.6 kB / 1.003 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/1.524, allocations: 138 kB / 1.003 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/1.524, allocations: 16 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0003508/1.524, allocations: 366.8 kB / 1.003 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/1.525, allocations: 229 kB / 1.004 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/1.526, allocations: 406.4 kB / 1.004 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009024/1.527, allocations: 293.7 kB / 1.004 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.527, allocations: 7.953 kB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003345/1.53, allocations: 0.9178 MB / 1.005 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/1.531, allocations: 9.984 kB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/1.531, allocations: 8 kB / 1.005 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.532, allocations: 226.5 kB / 1.005 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/1.533, allocations: 115.8 kB / 1.005 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009031/1.542, allocations: 5.009 MB / 1.01 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.543, allocations: 31.97 kB / 1.01 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/1.544, allocations: 24.06 kB / 1.01 GB, free: 6.711 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006427/1.544, allocations: 230.8 kB / 1.011 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/1.544, allocations: 59.3 kB / 1.011 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.547, allocations: 0.7698 MB / 1.011 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.547, allocations: 4 kB / 1.011 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.547, allocations: 0 / 1.011 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.547, allocations: 4 kB / 1.011 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/1.552, allocations: 1.482 MB / 1.013 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.552, allocations: 4 kB / 1.013 GB, free: 4.047 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/1.553, allocations: 75.83 kB / 1.013 GB, free: 3.973 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/1.554, allocations: 202.6 kB / 1.013 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/1.554, allocations: 8 kB / 1.013 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009237/1.563, allocations: 4.95 MB / 1.018 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.563, allocations: 4.062 kB / 1.018 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/1.567, allocations: 1.215 MB / 1.019 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007057/1.568, allocations: 172.3 kB / 1.019 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.568, allocations: 15.98 kB / 1.019 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/1.569, allocations: 24.34 kB / 1.019 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.569, allocations: 39.95 kB / 1.019 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/1.569, allocations: 12 kB / 1.019 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006561/1.569, allocations: 302.9 kB / 1.02 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.689e-06/1.569, allocations: 0 / 1.02 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001431/1.571, allocations: 175.9 kB / 1.02 GB, free: 12.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004198/1.575, allocations: 2.244 MB / 1.022 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002998/1.578, allocations: 1.001 MB / 1.023 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.578, allocations: 4.125 kB / 1.023 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.58, allocations: 0.6758 MB / 1.024 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.582, allocations: 158.3 kB / 1.024 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.599, allocations: 7.279 MB / 1.031 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.6, allocations: 0.965 MB / 1.032 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008052/1.601, allocations: 113 kB / 1.032 GB, free: 15.55 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/1.601, allocations: 203.4 kB / 1.032 GB, free: 15.35 MB / 0.795 GB Notification: Performance of SimCode: time 2.494e-06/1.602, allocations: 0 / 1.032 GB, free: 15.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/1.658, allocations: 13.18 MB / 1.045 GB, free: 2.461 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004167/1.658, allocations: 212.4 kB / 1.045 GB, free: 2.223 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.639/5.298, allocations: 0 / 1.045 GB, free: 2.223 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat