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.007526/0.007526, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001923/0.001923, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.6726, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008302/0.6809, allocations: 6.741 MB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005314/0.6862, allocations: 3.03 MB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.687, allocations: 28.06 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.6897, allocations: 0.9385 MB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.6913, allocations: 0.5223 MB / 1.098 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.6925, allocations: 428 kB / 1.099 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.6943, allocations: 1.226 MB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.6954, allocations: 0.6582 MB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008998/0.6963, allocations: 482.1 kB / 1.101 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.6973, allocations: 0.5186 MB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.6976, allocations: 67.22 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.6985, allocations: 377.9 kB / 1.102 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.699, allocations: 306.8 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008505/0.6998, allocations: 447.7 kB / 1.103 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.7016, allocations: 1.217 MB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7016, allocations: 4 kB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7016, allocations: 3.938 kB / 1.104 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.7017, allocations: 1.406 kB / 1.104 GB, free: 11.36 MB / 0.8731 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.001909/0.7036, allocations: 1.185 MB / 1.105 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.7036, allocations: 9.531 kB / 1.105 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.7038, allocations: 123.5 kB / 1.105 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.7054, allocations: 243.3 kB / 1.106 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.7064, allocations: 0.5917 MB / 1.106 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.7065, allocations: 51.72 kB / 1.106 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.7066, allocations: 61.64 kB / 1.106 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7081, allocations: 1.085 MB / 1.107 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.7082, allocations: 7.062 kB / 1.107 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.7083, allocations: 33.14 kB / 1.107 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.7084, allocations: 84.69 kB / 1.107 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.7096, allocations: 0.7499 MB / 1.108 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/0.7149, allocations: 5.892 MB / 1.114 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.7159, allocations: 0.547 MB / 1.114 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.7165, allocations: 329.4 kB / 1.115 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.7165, allocations: 5.844 kB / 1.115 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7165, allocations: 37.78 kB / 1.115 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.7165, allocations: 0 / 1.115 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.00385/0.7204, allocations: 2.004 MB / 1.117 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.7204, allocations: 58.53 kB / 1.117 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.7211, allocations: 0.5496 MB / 1.117 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.7211, allocations: 36.48 kB / 1.117 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.7214, allocations: 430.3 kB / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7215, allocations: 176 kB / 1.118 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.7217, allocations: 124.8 kB / 1.118 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7219, allocations: 382.5 kB / 1.118 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.7223, allocations: 274.2 kB / 1.119 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.7229, allocations: 494.8 kB / 1.119 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/0.7239, allocations: 0.8073 MB / 1.12 GB, free: 296 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7239, allocations: 5.375 kB / 1.12 GB, free: 292 kB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001881/0.7258, allocations: 1.092 MB / 1.121 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7258, allocations: 7.844 kB / 1.121 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7258, allocations: 6.969 kB / 1.121 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/0.7267, allocations: 285.7 kB / 1.121 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.7272, allocations: 126 kB / 1.121 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.7338, allocations: 7.136 MB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.7344, allocations: 40.88 kB / 1.128 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.7345, allocations: 32.38 kB / 1.128 GB, free: 9.453 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.0003391/0.7348, allocations: 257.3 kB / 1.129 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.735, allocations: 77 kB / 1.129 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.7366, allocations: 0.888 MB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.7366, allocations: 5.281 kB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7366, allocations: 2.594 kB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7366, allocations: 4.328 kB / 1.13 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.7394, allocations: 1.73 MB / 1.131 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7395, allocations: 5.156 kB / 1.131 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.7397, allocations: 60.84 kB / 1.131 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007902/0.7405, allocations: 270.1 kB / 1.132 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.7406, allocations: 15.66 kB / 1.132 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/0.747, allocations: 7.116 MB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.747, allocations: 2.406 kB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.7487, allocations: 0.9915 MB / 1.14 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.7491, allocations: 189.9 kB / 1.14 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7492, allocations: 16.95 kB / 1.14 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.7497, allocations: 30.02 kB / 1.14 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.7498, allocations: 37.92 kB / 1.14 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.7499, allocations: 18.69 kB / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004827/0.7503, allocations: 385 kB / 1.14 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7504, allocations: 1.156 kB / 1.14 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009073/0.7513, allocations: 224.6 kB / 1.14 GB, free: 0.7148 MB / 0.8887 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.001832/0.7531, allocations: 1.552 MB / 1.142 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.7552, allocations: 1.274 MB / 1.143 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7552, allocations: 1.188 kB / 1.143 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.7565, allocations: 0.8929 MB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.7576, allocations: 221.7 kB / 1.144 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.7674, allocations: 6.384 MB / 1.151 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.768, allocations: 1.006 MB / 1.152 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.7684, allocations: 126.2 kB / 1.152 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.7688, allocations: 253.8 kB / 1.152 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7688, allocations: 0 / 1.152 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/0.8168, allocations: 17.37 MB / 1.169 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.85/10.67, allocations: 5.141 kB / 1.169 GB, free: 3.109 MB / 0.9044 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