Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.004321/0.004321, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001179/0.001179, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.389/1.389, 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 12.0.0-master/package.mo): time 2.885/2.885, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2819, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.521/0.8029, allocations: 10.91 MB / 1.252 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.8135, allocations: 8.797 MB / 1.261 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.8142, allocations: 58.25 kB / 1.261 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.8177, allocations: 1.677 MB / 1.262 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.821, allocations: 1.518 MB / 1.264 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.8225, allocations: 0.6692 MB / 1.265 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002529/0.8251, allocations: 2.288 MB / 1.267 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.8266, allocations: 1.39 MB / 1.268 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.8279, allocations: 0.981 MB / 1.269 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.8291, allocations: 1.019 MB / 1.27 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.8293, allocations: 139 kB / 1.27 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.8307, allocations: 0.7975 MB / 1.271 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.8312, allocations: 0.5674 MB / 1.272 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.8319, allocations: 0.8886 MB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.8349, allocations: 2.582 MB / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.835, allocations: 0 / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.255e-06/0.835, allocations: 1.344 kB / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.988e-05/0.835, allocations: 0 / 1.275 GB, free: 15.02 MB / 1.014 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.00345/0.8385, allocations: 2.068 MB / 1.277 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8385, allocations: 13.59 kB / 1.277 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.8388, allocations: 185.9 kB / 1.277 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.8507, allocations: 2.058 MB / 1.279 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.8529, allocations: 1.217 MB / 1.28 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.853, allocations: 89.42 kB / 1.28 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.8532, allocations: 124.2 kB / 1.281 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005725/0.859, allocations: 2.482 MB / 1.283 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.859, allocations: 8.188 kB / 1.283 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.8592, allocations: 50.16 kB / 1.283 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003568/0.8596, allocations: 128.2 kB / 1.283 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007664/0.8672, allocations: 2.539 MB / 1.286 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.881, allocations: 10.04 MB / 1.295 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00678/0.8878, allocations: 1.956 MB / 1.297 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/0.8908, allocations: 0.9709 MB / 1.298 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.8909, allocations: 6.656 kB / 1.298 GB, free: 2.934 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.8909, allocations: 39.12 kB / 1.298 GB, free: 2.891 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.8909, allocations: 0 / 1.298 GB, free: 2.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.03332/0.9243, allocations: 8.744 MB / 1.307 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.9243, allocations: 60.19 kB / 1.307 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.9257, allocations: 1.099 MB / 1.308 GB, free: 340 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9259, allocations: 45.52 kB / 1.308 GB, free: 292 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/0.9265, allocations: 0.7523 MB / 1.309 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.9267, allocations: 294.8 kB / 1.309 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/0.9272, allocations: 203.9 kB / 1.309 GB, free: 15.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9273, allocations: 344.6 kB / 1.31 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.9305, allocations: 1.079 MB / 1.311 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/0.9338, allocations: 1.306 MB / 1.312 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006505/0.9403, allocations: 2.379 MB / 1.314 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.9403, allocations: 2.969 kB / 1.314 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009433/0.9498, allocations: 3.283 MB / 1.317 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9498, allocations: 7.312 kB / 1.317 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.9498, allocations: 7.156 kB / 1.317 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.9527, allocations: 0.7899 MB / 1.318 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.9547, allocations: 413.6 kB / 1.319 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/0.9717, allocations: 15.93 MB / 1.334 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.9741, allocations: 287.8 kB / 1.334 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.9743, allocations: 61.81 kB / 1.335 GB, free: 11.55 MB / 1.045 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.0007695/0.975, allocations: 398.9 kB / 1.335 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.9753, allocations: 154.7 kB / 1.335 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009361/0.9847, allocations: 3.2 MB / 1.338 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.9847, allocations: 11.97 kB / 1.338 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9847, allocations: 7.812 kB / 1.338 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.9847, allocations: 3.984 kB / 1.338 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.9964, allocations: 4.906 MB / 1.343 GB, free: 6.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.9964, allocations: 10.36 kB / 1.343 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.9982, allocations: 348.5 kB / 1.343 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/1.001, allocations: 0.7073 MB / 1.344 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.001, allocations: 27.69 kB / 1.344 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/1.018, allocations: 15.54 MB / 1.359 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.018, allocations: 7.406 kB / 1.359 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/1.027, allocations: 3.047 MB / 1.362 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/1.027, allocations: 395.5 kB / 1.363 GB, free: 5.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.028, allocations: 14.31 kB / 1.363 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.03, allocations: 304.8 kB / 1.363 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.03, allocations: 70.28 kB / 1.363 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.03, allocations: 43.27 kB / 1.363 GB, free: 5.238 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001024/1.031, allocations: 0.7423 MB / 1.364 GB, free: 4.824 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.031, allocations: 0 / 1.364 GB, free: 4.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001369/1.032, allocations: 434.2 kB / 1.364 GB, free: 4.785 MB / 1.061 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.008667/1.041, allocations: 3.625 MB / 1.368 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.009011/1.05, allocations: 3.635 MB / 1.371 GB, free: 15.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.05, allocations: 8.125 kB / 1.371 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005299/1.055, allocations: 2.371 MB / 1.374 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.058, allocations: 0.532 MB / 1.374 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03587/1.094, allocations: 15.86 MB / 1.39 GB, free: 12.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/1.095, allocations: 1.388 MB / 1.391 GB, free: 10.6 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001363/1.096, allocations: 379.8 kB / 1.391 GB, free: 10.23 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/1.097, allocations: 0.5969 MB / 1.392 GB, free: 9.629 MB / 1.092 GB Notification: Performance of SimCode: time 7.21e-07/1.097, allocations: 4 kB / 1.392 GB, free: 9.625 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/1.27, allocations: 41.52 MB / 1.432 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.93, allocations: 14.03 kB / 1.432 GB, free: 0.6758 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches