Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.007521/0.007521, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.00185/0.00185, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.398/1.398, 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 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.61 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2196, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01258/0.2322, allocations: 10.91 MB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.2445, allocations: 8.799 MB / 1.107 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008939/0.2454, allocations: 51.69 kB / 1.107 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.2496, allocations: 1.677 MB / 1.108 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.253, allocations: 1.524 MB / 1.11 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.2545, allocations: 0.6743 MB / 1.111 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.2566, allocations: 2.293 MB / 1.113 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.2581, allocations: 1.372 MB / 1.114 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.2592, allocations: 0.9848 MB / 1.115 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2603, allocations: 1.016 MB / 1.116 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.2605, allocations: 136 kB / 1.116 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.2617, allocations: 0.8032 MB / 1.117 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.2622, allocations: 0.5687 MB / 1.118 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.263, allocations: 0.8822 MB / 1.118 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.2653, allocations: 2.575 MB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2653, allocations: 4 kB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2653, allocations: 0 / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.2653, allocations: 4 kB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002998/0.2683, allocations: 2.018 MB / 1.123 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2684, allocations: 12.03 kB / 1.123 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.2686, allocations: 190.1 kB / 1.123 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.2802, allocations: 2.05 MB / 1.125 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.2823, allocations: 1.208 MB / 1.126 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.2824, allocations: 86.69 kB / 1.126 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.2826, allocations: 119.9 kB / 1.126 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/0.2879, allocations: 2.478 MB / 1.129 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.288, allocations: 11.83 kB / 1.129 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.2882, allocations: 55.98 kB / 1.129 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/0.2885, allocations: 130.1 kB / 1.129 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/0.296, allocations: 2.541 MB / 1.132 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.3084, allocations: 10.03 MB / 1.141 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006436/0.3149, allocations: 1.952 MB / 1.143 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/0.3177, allocations: 0.966 MB / 1.144 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3177, allocations: 8.422 kB / 1.144 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3178, allocations: 43 kB / 1.144 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 1.814e-06/0.3178, allocations: 0 / 1.144 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81): time 0.03194/0.3497, allocations: 8.711 MB / 1.153 GB, free: 13.92 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3498, allocations: 64 kB / 1.153 GB, free: 13.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.351, allocations: 1.101 MB / 1.154 GB, free: 12.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.3511, allocations: 37.7 kB / 1.154 GB, free: 12.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3516, allocations: 0.734 MB / 1.155 GB, free: 11.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.3519, allocations: 283.9 kB / 1.155 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.3523, allocations: 202.4 kB / 1.155 GB, free: 11.46 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3524, allocations: 342 kB / 1.155 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.3555, allocations: 1.071 MB / 1.156 GB, free: 10.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.3586, allocations: 1.305 MB / 1.158 GB, free: 8.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006228/0.3649, allocations: 2.39 MB / 1.16 GB, free: 6.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3649, allocations: 4 kB / 1.16 GB, free: 6.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009057/0.374, allocations: 3.28 MB / 1.163 GB, free: 2.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.374, allocations: 8.875 kB / 1.163 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.374, allocations: 8 kB / 1.163 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.3768, allocations: 0.795 MB / 1.164 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.3788, allocations: 415.2 kB / 1.164 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.3947, allocations: 15.92 MB / 1.18 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.3968, allocations: 291.5 kB / 1.18 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.397, allocations: 51.97 kB / 1.18 GB, free: 220 kB / 0.9356 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0005966/0.3976, allocations: 401.5 kB / 1.181 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.3978, allocations: 138.3 kB / 1.181 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0091/0.4069, allocations: 3.21 MB / 1.184 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4069, allocations: 8 kB / 1.184 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.407, allocations: 8 kB / 1.184 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.407, allocations: 7.984 kB / 1.184 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.4182, allocations: 4.902 MB / 1.189 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4183, allocations: 4 kB / 1.189 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.42, allocations: 351.4 kB / 1.189 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.4223, allocations: 0.6936 MB / 1.19 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.4224, allocations: 31.97 kB / 1.19 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.4376, allocations: 15.53 MB / 1.205 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4376, allocations: 0 / 1.205 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008515/0.4461, allocations: 3.047 MB / 1.208 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.4469, allocations: 383.1 kB / 1.208 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4471, allocations: 23.98 kB / 1.208 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.449, allocations: 291.5 kB / 1.209 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.4493, allocations: 80.48 kB / 1.209 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/0.4494, allocations: 35.97 kB / 1.209 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009366/0.4503, allocations: 0.7405 MB / 1.21 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4503, allocations: 0 / 1.21 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001335/0.4517, allocations: 428 kB / 1.21 GB, free: 0.5156 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008628/0.4603, allocations: 3.619 MB / 1.213 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008828/0.4691, allocations: 3.64 MB / 1.217 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4692, allocations: 0 / 1.217 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/0.4742, allocations: 2.356 MB / 1.219 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4763, allocations: 0.5214 MB / 1.22 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/0.5095, allocations: 15.83 MB / 1.235 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/0.5105, allocations: 1.388 MB / 1.237 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001168/0.5116, allocations: 379.9 kB / 1.237 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/0.5125, allocations: 0.5969 MB / 1.238 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.5125, allocations: 0 / 1.238 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5071/1.02, allocations: 41.51 MB / 1.278 GB, free: 154.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.44, allocations: 10.72 kB / 1.278 GB, free: 154.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches