Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_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_11_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.001954/0.001954, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 186.8 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 59.89 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2801, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007547/0.2877, allocations: 5.468 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.2919, allocations: 2.623 MB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2921, allocations: 23.81 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.2939, allocations: 0.6881 MB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.2947, allocations: 405.8 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.2955, allocations: 395.1 kB / 1.23 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2966, allocations: 0.9513 MB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.2972, allocations: 466.4 kB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.2977, allocations: 366.6 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.2982, allocations: 410.4 kB / 1.232 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.2983, allocations: 48 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.2989, allocations: 363.2 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.2992, allocations: 243.4 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.2995, allocations: 346.3 kB / 1.233 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3006, allocations: 0.9805 MB / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3007, allocations: 0 / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3007, allocations: 0 / 1.234 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3007, allocations: 0 / 1.234 GB, free: 0.5938 MB / 0.9825 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.001576/0.3023, allocations: 0.9923 MB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3023, allocations: 12.03 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.3024, allocations: 98.69 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.3038, allocations: 192.3 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.3046, allocations: 0.5262 MB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.3047, allocations: 37.36 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3048, allocations: 52.56 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.3061, allocations: 0.8355 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3061, allocations: 0 / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.3062, allocations: 23.98 kB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.3064, allocations: 72.94 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.3073, allocations: 0.5735 MB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004678/0.312, allocations: 4.566 MB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3125, allocations: 299.3 kB / 1.242 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.3129, allocations: 229.2 kB / 1.242 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.3129, allocations: 12.22 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.313, allocations: 34.84 kB / 1.242 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.597e-06/0.313, allocations: 0 / 1.242 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005848/0.3188, allocations: 2.647 MB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3189, allocations: 59.41 kB / 1.245 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.3194, allocations: 465.9 kB / 1.245 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.3194, allocations: 33.7 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3197, allocations: 348.5 kB / 1.245 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3198, allocations: 150.7 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.32, allocations: 102.2 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3202, allocations: 362.8 kB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.3206, allocations: 241 kB / 1.246 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.3211, allocations: 413 kB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.3221, allocations: 0.6779 MB / 1.247 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3221, allocations: 0 / 1.247 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00177/0.3239, allocations: 0.9254 MB / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3239, allocations: 12.12 kB / 1.248 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3239, allocations: 4 kB / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.3248, allocations: 218.4 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.3253, allocations: 115.8 kB / 1.248 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4852/0.8105, allocations: 5.334 MB / 1.254 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.811, allocations: 34.33 kB / 1.254 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.8111, allocations: 26.5 kB / 1.254 GB, free: 25.56 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002629/0.8113, allocations: 221.7 kB / 1.254 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.8114, allocations: 59.53 kB / 1.254 GB, free: 25.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.8129, allocations: 0.7744 MB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8129, allocations: 4.219 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8129, allocations: 2.75 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.813, allocations: 3.547 kB / 1.255 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.8151, allocations: 1.505 MB / 1.256 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.8151, allocations: 2.656 kB / 1.256 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.8155, allocations: 69.75 kB / 1.256 GB, free: 24.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.8162, allocations: 212.6 kB / 1.256 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.8162, allocations: 8.75 kB / 1.256 GB, free: 24.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.8199, allocations: 5.274 MB / 1.262 GB, free: 20.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8199, allocations: 6.812 kB / 1.262 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8214, allocations: 1.129 MB / 1.263 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.8215, allocations: 172.2 kB / 1.263 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.8216, allocations: 13.41 kB / 1.263 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.822, allocations: 26.33 kB / 1.263 GB, free: 20.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.822, allocations: 36.5 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.8221, allocations: 13.34 kB / 1.263 GB, free: 20.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002799/0.8224, allocations: 319.3 kB / 1.263 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8224, allocations: 0 / 1.263 GB, free: 20.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005715/0.8229, allocations: 166.2 kB / 1.263 GB, free: 20.41 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/0.8246, allocations: 1.685 MB / 1.265 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.826, allocations: 1.014 MB / 1.266 GB, free: 19.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.826, allocations: 5.5 kB / 1.266 GB, free: 19.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.8268, allocations: 0.6839 MB / 1.267 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.8276, allocations: 183.7 kB / 1.267 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006687/0.8343, allocations: 5.62 MB / 1.272 GB, free: 16.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.8348, allocations: 0.9456 MB / 1.273 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.8351, allocations: 123.1 kB / 1.273 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.8353, allocations: 209.4 kB / 1.274 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8353, allocations: 1.156 kB / 1.274 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.8828, allocations: 14.1 MB / 1.287 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.47, allocations: 9.281 kB / 1.287 GB, free: 13.96 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches