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.004814/0.004815, allocations: 103.2 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.001133/0.001133, allocations: 191.2 kB / 16.67 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.091/2.091, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6209, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01113/0.6321, allocations: 10.91 MB / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.6449, allocations: 8.796 MB / 1.107 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.6458, allocations: 54.44 kB / 1.107 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.6499, allocations: 1.67 MB / 1.108 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.6532, allocations: 1.537 MB / 1.11 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.6547, allocations: 0.6727 MB / 1.111 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.657, allocations: 2.289 MB / 1.113 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.6586, allocations: 1.374 MB / 1.114 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.6598, allocations: 0.9789 MB / 1.115 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.6611, allocations: 1.021 MB / 1.116 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.6613, allocations: 141.9 kB / 1.116 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.6627, allocations: 0.8019 MB / 1.117 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.6633, allocations: 0.564 MB / 1.118 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000836/0.6641, allocations: 0.8899 MB / 1.118 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.6668, allocations: 2.56 MB / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.6668, allocations: 2.109 kB / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6668, allocations: 0 / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.6668, allocations: 0 / 1.121 GB, free: 0.8867 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.003198/0.67, allocations: 2.023 MB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6701, allocations: 13.91 kB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.6703, allocations: 186.2 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.6818, allocations: 2.047 MB / 1.125 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.6841, allocations: 1.218 MB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.6842, allocations: 89.19 kB / 1.126 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.6845, allocations: 119.8 kB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005497/0.69, allocations: 2.478 MB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.69, allocations: 15.33 kB / 1.129 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.6902, allocations: 55.62 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003648/0.6906, allocations: 132 kB / 1.129 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007625/0.6982, allocations: 2.535 MB / 1.132 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.712, allocations: 10.04 MB / 1.141 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006414/0.7184, allocations: 1.948 MB / 1.143 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.7212, allocations: 0.9714 MB / 1.144 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.7213, allocations: 9.391 kB / 1.144 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.7213, allocations: 38.72 kB / 1.144 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.7213, allocations: 0 / 1.144 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03224/0.7536, allocations: 8.716 MB / 1.153 GB, free: 72 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.7536, allocations: 63.31 kB / 1.153 GB, free: 4 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.755, allocations: 1.095 MB / 1.154 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7551, allocations: 45.45 kB / 1.154 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.7556, allocations: 0.7373 MB / 1.155 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.7559, allocations: 279.5 kB / 1.155 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.7563, allocations: 204.4 kB / 1.155 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7564, allocations: 342.6 kB / 1.155 GB, free: 14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/0.7594, allocations: 1.074 MB / 1.157 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.7626, allocations: 1.309 MB / 1.158 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/0.7688, allocations: 2.38 MB / 1.16 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7688, allocations: 1.25 kB / 1.16 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008815/0.7776, allocations: 3.277 MB / 1.163 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7776, allocations: 8.25 kB / 1.163 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.7777, allocations: 7.094 kB / 1.163 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.7804, allocations: 0.7926 MB / 1.164 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.7824, allocations: 413.5 kB / 1.164 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.7977, allocations: 15.91 MB / 1.18 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/0.8, allocations: 292 kB / 1.18 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.8001, allocations: 50.78 kB / 1.18 GB, free: 10.27 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.0007119/0.8009, allocations: 408.6 kB / 1.181 GB, free: 9.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.8011, allocations: 144.9 kB / 1.181 GB, free: 9.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008862/0.81, allocations: 3.204 MB / 1.184 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.81, allocations: 7.906 kB / 1.184 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.81, allocations: 8.281 kB / 1.184 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.81, allocations: 3.984 kB / 1.184 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.8211, allocations: 4.904 MB / 1.189 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8212, allocations: 4 kB / 1.189 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.8229, allocations: 359.6 kB / 1.189 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.8252, allocations: 0.6974 MB / 1.19 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/0.8253, allocations: 31.97 kB / 1.19 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.8394, allocations: 15.54 MB / 1.205 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8394, allocations: 8.016 kB / 1.205 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008072/0.8475, allocations: 3.047 MB / 1.208 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/0.8482, allocations: 383.2 kB / 1.208 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.8484, allocations: 12 kB / 1.208 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/0.8503, allocations: 307.6 kB / 1.209 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.8505, allocations: 76.5 kB / 1.209 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.712e-05/0.8506, allocations: 43.95 kB / 1.209 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008783/0.8514, allocations: 0.7327 MB / 1.21 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8515, allocations: 4 kB / 1.21 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001367/0.8528, allocations: 432 kB / 1.21 GB, free: 12.9 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.00847/0.8613, allocations: 3.612 MB / 1.213 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008433/0.8698, allocations: 3.629 MB / 1.217 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8698, allocations: 0 / 1.217 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00487/0.8746, allocations: 2.367 MB / 1.219 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.8767, allocations: 0.5135 MB / 1.22 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/0.9093, allocations: 15.82 MB / 1.235 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.9102, allocations: 1.388 MB / 1.237 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001169/0.9114, allocations: 371.9 kB / 1.237 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007943/0.9122, allocations: 0.5969 MB / 1.238 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9122, allocations: 4 kB / 1.238 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08651/0.9987, allocations: 41.52 MB / 1.278 GB, free: 6.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.19, allocations: 13.78 kB / 1.278 GB, free: 6.898 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