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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 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.001087/0.001087, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.421/2.421, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.42 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2207, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006373/0.2271, allocations: 5.471 MB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.2308, allocations: 2.623 MB / 1.061 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.2311, allocations: 27.81 kB / 1.061 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.2327, allocations: 0.6799 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.2335, allocations: 401.8 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.2342, allocations: 399.1 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008497/0.2351, allocations: 0.9436 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.2357, allocations: 478.7 kB / 1.064 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.2361, allocations: 366.7 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.2366, allocations: 402.4 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.2367, allocations: 48 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.2372, allocations: 359.3 kB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.2374, allocations: 247.4 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.2377, allocations: 350.2 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.2386, allocations: 0.9617 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2386, allocations: 0 / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2386, allocations: 0 / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2386, allocations: 3.938 kB / 1.066 GB, free: 10.51 MB / 0.8262 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.001262/0.2399, allocations: 0.9777 MB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2399, allocations: 8.625 kB / 1.067 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.383e-05/0.24, allocations: 98.64 kB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.2413, allocations: 195.8 kB / 1.068 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.2418, allocations: 490.4 kB / 1.068 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.2418, allocations: 33.38 kB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.242, allocations: 60.44 kB / 1.068 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.2429, allocations: 0.8278 MB / 1.069 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.243, allocations: 7.938 kB / 1.069 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.243, allocations: 27.98 kB / 1.069 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.2432, allocations: 64.95 kB / 1.069 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.244, allocations: 0.5697 MB / 1.07 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.2475, allocations: 4.589 MB / 1.074 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2479, allocations: 291.2 kB / 1.074 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.2482, allocations: 225.3 kB / 1.075 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2482, allocations: 4.281 kB / 1.075 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2483, allocations: 38.83 kB / 1.075 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2483, allocations: 0 / 1.075 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.004778/0.253, allocations: 2.626 MB / 1.077 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2531, allocations: 55.41 kB / 1.077 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.2535, allocations: 465.9 kB / 1.078 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2535, allocations: 33.7 kB / 1.078 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.2537, allocations: 335.7 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.2538, allocations: 141.9 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2539, allocations: 110.1 kB / 1.078 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2541, allocations: 362.8 kB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.2544, allocations: 237 kB / 1.079 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.2548, allocations: 414.4 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/0.2555, allocations: 0.6778 MB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2555, allocations: 0 / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001437/0.257, allocations: 0.9171 MB / 1.081 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.257, allocations: 9.75 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.257, allocations: 4 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.2577, allocations: 234.3 kB / 1.081 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.2582, allocations: 107.9 kB / 1.081 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.2625, allocations: 5.348 MB / 1.086 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.2628, allocations: 27.97 kB / 1.086 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.2629, allocations: 28 kB / 1.086 GB, free: 4.629 MB / 0.8419 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.0002151/0.2631, allocations: 225.6 kB / 1.087 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.2632, allocations: 63.22 kB / 1.087 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.2645, allocations: 0.7697 MB / 1.087 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2645, allocations: 4 kB / 1.087 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2645, allocations: 8 kB / 1.087 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2646, allocations: 0 / 1.087 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.2666, allocations: 1.495 MB / 1.089 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2666, allocations: 0 / 1.089 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.2669, allocations: 71.88 kB / 1.089 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.2676, allocations: 206.6 kB / 1.089 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.2676, allocations: 12 kB / 1.089 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.2717, allocations: 5.273 MB / 1.094 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2717, allocations: 4.062 kB / 1.094 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2732, allocations: 1.146 MB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.2734, allocations: 172.3 kB / 1.096 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.2734, allocations: 8 kB / 1.096 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2737, allocations: 32.2 kB / 1.096 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2738, allocations: 39.91 kB / 1.096 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.2739, allocations: 11.98 kB / 1.096 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002767/0.2741, allocations: 310.9 kB / 1.096 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2741, allocations: 0 / 1.096 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000524/0.2747, allocations: 168 kB / 1.096 GB, free: 10.03 MB / 0.8575 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.00174/0.2764, allocations: 1.692 MB / 1.098 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.2778, allocations: 1.052 MB / 1.099 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2778, allocations: 0 / 1.099 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.2787, allocations: 0.6798 MB / 1.099 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.2795, allocations: 184.2 kB / 1.1 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/0.2858, allocations: 5.687 MB / 1.105 GB, free: 328 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.2863, allocations: 0.9454 MB / 1.106 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.2866, allocations: 113 kB / 1.106 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.2869, allocations: 207.4 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.2869, allocations: 0 / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.901/1.188, allocations: 13.92 MB / 1.12 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.64, allocations: 12.03 kB / 1.12 GB, free: 1.352 MB / 0.8731 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/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) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches