Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.004323/0.004324, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001141/0.001141, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.61 kB / 0.9504 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2276, allocations: 140.4 MB / 1.087 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007715/0.2353, allocations: 6.726 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.2398, allocations: 3.024 MB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.2402, allocations: 27.81 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.2426, allocations: 0.9583 MB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2436, allocations: 0.505 MB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009657/0.2446, allocations: 421.8 kB / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2459, allocations: 1.228 MB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.2468, allocations: 0.6573 MB / 1.101 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.2474, allocations: 478.2 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007032/0.2482, allocations: 0.5215 MB / 1.102 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.2483, allocations: 64 kB / 1.102 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.249, allocations: 379.3 kB / 1.102 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.2493, allocations: 315.1 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.2498, allocations: 441.8 kB / 1.103 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.251, allocations: 1.219 MB / 1.104 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.251, allocations: 8 kB / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.251, allocations: 0 / 1.104 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.183e-05/0.2511, allocations: 3.938 kB / 1.104 GB, free: 1.102 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002059/0.2531, allocations: 1.157 MB / 1.105 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2532, allocations: 8.031 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.2533, allocations: 126.5 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.2549, allocations: 239.6 kB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009283/0.2559, allocations: 0.5843 MB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.2559, allocations: 53.67 kB / 1.106 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.256, allocations: 60.36 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.2574, allocations: 1.089 MB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2575, allocations: 3.906 kB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.2576, allocations: 39.98 kB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.2577, allocations: 89.19 kB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2589, allocations: 0.7465 MB / 1.108 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.264, allocations: 5.862 MB / 1.114 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.265, allocations: 0.5643 MB / 1.114 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.2654, allocations: 322 kB / 1.115 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.2655, allocations: 12.42 kB / 1.115 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2655, allocations: 39 kB / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.395e-06/0.2655, allocations: 0 / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.00383/0.2693, allocations: 1.982 MB / 1.117 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2694, allocations: 59.84 kB / 1.117 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.27, allocations: 0.5509 MB / 1.117 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.2701, allocations: 37.7 kB / 1.117 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2703, allocations: 410.9 kB / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2705, allocations: 173.6 kB / 1.118 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.2706, allocations: 122.5 kB / 1.118 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2708, allocations: 378.7 kB / 1.118 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.2712, allocations: 277.8 kB / 1.119 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.2717, allocations: 497 kB / 1.119 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2728, allocations: 0.8171 MB / 1.12 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2728, allocations: 0 / 1.12 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001797/0.2746, allocations: 1.087 MB / 1.121 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2746, allocations: 8 kB / 1.121 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2746, allocations: 8 kB / 1.121 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008592/0.2755, allocations: 279.5 kB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.276, allocations: 131.7 kB / 1.121 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.2823, allocations: 7.126 MB / 1.128 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.2829, allocations: 43.89 kB / 1.128 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.2829, allocations: 28 kB / 1.128 GB, free: 6.562 MB / 0.8887 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0003023/0.2832, allocations: 257.5 kB / 1.129 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2833, allocations: 71.16 kB / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.2849, allocations: 0.8923 MB / 1.13 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2849, allocations: 8 kB / 1.13 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2849, allocations: 8 kB / 1.13 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.285, allocations: 3.984 kB / 1.13 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.2875, allocations: 1.716 MB / 1.131 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2875, allocations: 4.125 kB / 1.131 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.2878, allocations: 67.88 kB / 1.131 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/0.2886, allocations: 271.4 kB / 1.132 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.2886, allocations: 8 kB / 1.132 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.2947, allocations: 7.114 MB / 1.139 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2948, allocations: 4.031 kB / 1.139 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2962, allocations: 0.9834 MB / 1.139 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.2965, allocations: 188.3 kB / 1.14 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.2966, allocations: 15.94 kB / 1.14 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.297, allocations: 27.97 kB / 1.14 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.2971, allocations: 43.88 kB / 1.14 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.2971, allocations: 16 kB / 1.14 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003999/0.2975, allocations: 383.1 kB / 1.14 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2976, allocations: 0 / 1.14 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007351/0.2983, allocations: 224 kB / 1.14 GB, free: 9.539 MB / 0.9044 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/0.3, allocations: 1.541 MB / 1.142 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.3019, allocations: 1.276 MB / 1.143 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3019, allocations: 0 / 1.143 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3031, allocations: 0.8971 MB / 1.144 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.3041, allocations: 231.5 kB / 1.144 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008/0.3122, allocations: 6.351 MB / 1.15 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.3127, allocations: 1.005 MB / 1.151 GB, free: 13.72 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003447/0.3131, allocations: 118 kB / 1.151 GB, free: 13.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.3134, allocations: 255.3 kB / 1.152 GB, free: 13.36 MB / 0.92 GB Notification: Performance of SimCode: time 3.2e-07/0.3134, allocations: 0 / 1.152 GB, free: 13.36 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.3564, allocations: 17.37 MB / 1.169 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.861/10.22, allocations: 3.984 kB / 1.169 GB, free: 12.25 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches