Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_L,fileNamePrefix="Buildings_10_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_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 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.001121/0.001121, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4891, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007264/0.4964, allocations: 6.072 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004615/0.501, allocations: 3.156 MB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.5015, allocations: 31.81 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.5038, allocations: 0.926 MB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.5049, allocations: 473.5 kB / 1.028 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.5061, allocations: 490.8 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009746/0.507, allocations: 1.092 MB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.5078, allocations: 0.641 MB / 1.03 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.5083, allocations: 434.4 kB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.5087, allocations: 478.1 kB / 1.031 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.5088, allocations: 56 kB / 1.031 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.5096, allocations: 490.9 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.5098, allocations: 287.2 kB / 1.032 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.5101, allocations: 397.9 kB / 1.032 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.5111, allocations: 1.16 MB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5112, allocations: 4 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5112, allocations: 0 / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.5112, allocations: 3.984 kB / 1.033 GB, free: 2.262 MB / 0.7794 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.00141/0.5126, allocations: 1.052 MB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5126, allocations: 16.03 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5128, allocations: 110.7 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.5142, allocations: 219.7 kB / 1.035 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.5149, allocations: 0.5298 MB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.5149, allocations: 45.67 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.5151, allocations: 68.27 kB / 1.035 GB, free: 132 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5163, allocations: 1.034 MB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5164, allocations: 7.938 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.5164, allocations: 31.98 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.571e-05/0.5165, allocations: 69.27 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.5175, allocations: 0.6918 MB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.522, allocations: 5.749 MB / 1.043 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.5228, allocations: 0.6046 MB / 1.043 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.5236, allocations: 413.9 kB / 1.044 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.5236, allocations: 4 kB / 1.044 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.5237, allocations: 42.5 kB / 1.044 GB, free: 6.898 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/0.5237, allocations: 4 kB / 1.044 GB, free: 6.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004232/0.5279, allocations: 2.05 MB / 1.046 GB, free: 4.75 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.528, allocations: 55.41 kB / 1.046 GB, free: 4.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.5284, allocations: 454.8 kB / 1.046 GB, free: 4.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.5284, allocations: 37.7 kB / 1.046 GB, free: 4.188 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.5287, allocations: 383 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5288, allocations: 149.9 kB / 1.047 GB, free: 3.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.5289, allocations: 118.2 kB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5291, allocations: 362.8 kB / 1.047 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.5294, allocations: 249.2 kB / 1.047 GB, free: 2.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.5299, allocations: 453 kB / 1.048 GB, free: 2.391 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/0.5307, allocations: 0.7594 MB / 1.048 GB, free: 1.535 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5307, allocations: 0 / 1.048 GB, free: 1.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001822/0.5326, allocations: 1.066 MB / 1.05 GB, free: 460 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5326, allocations: 15.92 kB / 1.05 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5326, allocations: 8 kB / 1.05 GB, free: 436 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.5336, allocations: 331.5 kB / 1.05 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.534, allocations: 95.88 kB / 1.05 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.5407, allocations: 7.516 MB / 1.057 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.5411, allocations: 27.98 kB / 1.057 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.5411, allocations: 28 kB / 1.057 GB, free: 7.859 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.5414, allocations: 249.5 kB / 1.058 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.5415, allocations: 71.17 kB / 1.058 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.5432, allocations: 0.9119 MB / 1.059 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5432, allocations: 4.281 kB / 1.059 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5432, allocations: 8 kB / 1.059 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5432, allocations: 3.984 kB / 1.059 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.5457, allocations: 1.704 MB / 1.06 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5457, allocations: 0 / 1.06 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.5459, allocations: 51.89 kB / 1.06 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000937/0.5468, allocations: 327.3 kB / 1.061 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.5469, allocations: 8 kB / 1.061 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/0.5533, allocations: 7.506 MB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5533, allocations: 0 / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.5549, allocations: 1.011 MB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.5551, allocations: 172.4 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.5552, allocations: 12 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.5555, allocations: 19.98 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.5556, allocations: 47.88 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.5556, allocations: 12.28 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002905/0.5559, allocations: 310.8 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5559, allocations: 0 / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006972/0.5566, allocations: 199.9 kB / 1.07 GB, free: 10.5 MB / 0.8262 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/0.5585, allocations: 1.559 MB / 1.071 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.5604, allocations: 1.246 MB / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5604, allocations: 0 / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5615, allocations: 0.8621 MB / 1.073 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.5625, allocations: 212.8 kB / 1.073 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.5701, allocations: 5.973 MB / 1.079 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5707, allocations: 0.9843 MB / 1.08 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.571, allocations: 105.2 kB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5713, allocations: 223.4 kB / 1.081 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.5713, allocations: 0 / 1.081 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.6121, allocations: 15.17 MB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.878/9.49, allocations: 8 kB / 1.095 GB, free: 15.9 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches