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.008974/0.008974, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.002113/0.002113, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.232/2.232, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8267, allocations: 140.4 MB / 1.087 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0167/0.8434, allocations: 10.9 MB / 1.098 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.861, allocations: 8.798 MB / 1.107 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.8634, allocations: 58.59 kB / 1.107 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.8687, allocations: 1.66 MB / 1.108 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006353/0.8751, allocations: 1.538 MB / 1.11 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.8778, allocations: 0.6721 MB / 1.111 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004831/0.8827, allocations: 2.285 MB / 1.113 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.8856, allocations: 1.374 MB / 1.114 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.8883, allocations: 1.01 MB / 1.115 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.8911, allocations: 1.017 MB / 1.116 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007143/0.8918, allocations: 138.8 kB / 1.116 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.8945, allocations: 0.8049 MB / 1.117 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.8958, allocations: 0.5681 MB / 1.118 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.8985, allocations: 0.8822 MB / 1.118 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.9049, allocations: 2.569 MB / 1.121 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.905, allocations: 4 kB / 1.121 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.885e-06/0.905, allocations: 0.6562 kB / 1.121 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001336/0.9051, allocations: 0 / 1.121 GB, free: 0.8555 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.007436/0.9126, allocations: 2.017 MB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.9126, allocations: 9.031 kB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007298/0.9134, allocations: 189.6 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.9262, allocations: 2.044 MB / 1.125 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/0.9305, allocations: 1.222 MB / 1.126 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.9307, allocations: 84.27 kB / 1.126 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007404/0.9314, allocations: 119.8 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007062/0.9385, allocations: 2.487 MB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.9386, allocations: 11.97 kB / 1.129 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.9388, allocations: 50.22 kB / 1.129 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004086/0.9392, allocations: 132.9 kB / 1.129 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.9478, allocations: 2.539 MB / 1.132 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.9678, allocations: 10.04 MB / 1.141 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/0.9753, allocations: 1.953 MB / 1.143 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.9784, allocations: 0.9665 MB / 1.144 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.9784, allocations: 6.125 kB / 1.144 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.9785, allocations: 42.12 kB / 1.144 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 3.376e-06/0.9785, allocations: 3.938 kB / 1.144 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03359/1.012, allocations: 8.709 MB / 1.153 GB, free: 16 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.012, allocations: 64.66 kB / 1.153 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.014, allocations: 1.098 MB / 1.154 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.015, allocations: 37.14 kB / 1.154 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/1.015, allocations: 0.7417 MB / 1.155 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/1.016, allocations: 283.5 kB / 1.155 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/1.016, allocations: 203 kB / 1.155 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.016, allocations: 348.2 kB / 1.155 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/1.02, allocations: 1.069 MB / 1.157 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.023, allocations: 1.302 MB / 1.158 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006487/1.029, allocations: 2.387 MB / 1.16 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/1.029, allocations: 1.188 kB / 1.16 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009502/1.039, allocations: 3.277 MB / 1.163 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.039, allocations: 8.219 kB / 1.163 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.039, allocations: 7.781 kB / 1.163 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/1.042, allocations: 0.7926 MB / 1.164 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.044, allocations: 412.1 kB / 1.165 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.061, allocations: 15.91 MB / 1.18 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.064, allocations: 291.1 kB / 1.18 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/1.064, allocations: 49.84 kB / 1.18 GB, free: 10.22 MB / 0.92 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.001116/1.065, allocations: 411.4 kB / 1.181 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.066, allocations: 141.7 kB / 1.181 GB, free: 9.855 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009451/1.075, allocations: 3.216 MB / 1.184 GB, free: 7.996 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.075, allocations: 8.625 kB / 1.184 GB, free: 7.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-05/1.075, allocations: 7.188 kB / 1.184 GB, free: 7.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.075, allocations: 3.984 kB / 1.184 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.089, allocations: 4.899 MB / 1.189 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.089, allocations: 8.031 kB / 1.189 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.091, allocations: 359.3 kB / 1.189 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/1.093, allocations: 0.6897 MB / 1.19 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.093, allocations: 35.95 kB / 1.19 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.109, allocations: 15.53 MB / 1.205 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.109, allocations: 4 kB / 1.205 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008942/1.118, allocations: 3.051 MB / 1.208 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.119, allocations: 379.2 kB / 1.208 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/1.12, allocations: 27.92 kB / 1.208 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.122, allocations: 295.4 kB / 1.209 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.123, allocations: 76.64 kB / 1.209 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.123, allocations: 39.95 kB / 1.209 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00142/1.124, allocations: 0.7405 MB / 1.21 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/1.124, allocations: 0 / 1.21 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002255/1.127, allocations: 436 kB / 1.21 GB, free: 12.86 MB / 0.9512 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.009073/1.136, allocations: 3.61 MB / 1.213 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009319/1.145, allocations: 3.629 MB / 1.217 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.145, allocations: 0 / 1.217 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005408/1.15, allocations: 2.36 MB / 1.219 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/1.154, allocations: 0.5287 MB / 1.22 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/1.191, allocations: 15.81 MB / 1.235 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.192, allocations: 1.388 MB / 1.237 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001538/1.194, allocations: 375.9 kB / 1.237 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/1.194, allocations: 0.6047 MB / 1.238 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.194, allocations: 0 / 1.238 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.318, allocations: 42.36 MB / 1.279 GB, free: 6.027 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.54, allocations: 10.69 kB / 1.279 GB, free: 6.023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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