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.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.223/2.223, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 63.84 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5256, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006125/0.5317, allocations: 6.733 MB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.5352, allocations: 3.041 MB / 0.9593 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.5355, allocations: 26.94 kB / 0.9593 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.5374, allocations: 0.9483 MB / 0.9602 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007589/0.5381, allocations: 0.5037 MB / 0.9607 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.5389, allocations: 426.2 kB / 0.9611 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.5399, allocations: 1.222 MB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007793/0.5407, allocations: 0.6569 MB / 0.963 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.5411, allocations: 475.5 kB / 0.9634 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.5417, allocations: 0.5136 MB / 0.9639 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.5418, allocations: 66.44 kB / 0.964 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.5424, allocations: 384.2 kB / 0.9643 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.5427, allocations: 304.6 kB / 0.9646 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.5431, allocations: 456.4 kB / 0.9651 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.5441, allocations: 1.197 MB / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5441, allocations: 0 / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5441, allocations: 1.312 kB / 0.9662 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5441, allocations: 0 / 0.9662 GB, free: 13.02 MB / 0.7325 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.001599/0.5457, allocations: 1.153 MB / 0.9674 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.5458, allocations: 9.281 kB / 0.9674 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.5459, allocations: 129.7 kB / 0.9675 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.5473, allocations: 236.2 kB / 0.9677 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.548, allocations: 0.5472 MB / 0.9683 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.548, allocations: 51.73 kB / 0.9683 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.5481, allocations: 62.2 kB / 0.9684 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.5494, allocations: 1.084 MB / 0.9694 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.5495, allocations: 14.36 kB / 0.9694 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.5495, allocations: 28.77 kB / 0.9695 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.5497, allocations: 85.16 kB / 0.9695 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.5507, allocations: 0.749 MB / 0.9703 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.5555, allocations: 5.901 MB / 0.976 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.5566, allocations: 0.5632 MB / 0.9766 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.5571, allocations: 328.5 kB / 0.9769 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.5571, allocations: 4.969 kB / 0.9769 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.5572, allocations: 41.27 kB / 0.9769 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.5572, allocations: 1.156 kB / 0.9769 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003706/0.5609, allocations: 1.981 MB / 0.9789 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5609, allocations: 60.84 kB / 0.9789 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.5615, allocations: 0.5594 MB / 0.9795 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.5616, allocations: 31.05 kB / 0.9795 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.5618, allocations: 417.5 kB / 0.9799 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5619, allocations: 168.5 kB / 0.9801 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.5621, allocations: 134.5 kB / 0.9802 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5622, allocations: 374.7 kB / 0.9806 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.5626, allocations: 273.8 kB / 0.9808 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.5631, allocations: 493 kB / 0.9813 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.564, allocations: 0.8094 MB / 0.9821 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5641, allocations: 0 / 0.9821 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0016/0.5657, allocations: 1.09 MB / 0.9831 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5657, allocations: 8 kB / 0.9832 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5657, allocations: 11.98 kB / 0.9832 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007757/0.5665, allocations: 280 kB / 0.9834 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.5669, allocations: 123.8 kB / 0.9836 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005898/0.5728, allocations: 7.137 MB / 0.9905 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.5734, allocations: 35.97 kB / 0.9906 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.5734, allocations: 36.05 kB / 0.9906 GB, free: 6.352 MB / 0.7481 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.0002839/0.5737, allocations: 249.5 kB / 0.9908 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5738, allocations: 79.16 kB / 0.9909 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.5752, allocations: 0.8846 MB / 0.9918 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5752, allocations: 8 kB / 0.9918 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5752, allocations: 4 kB / 0.9918 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5752, allocations: 0 / 0.9918 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.5775, allocations: 1.724 MB / 0.9935 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5775, allocations: 3.938 kB / 0.9935 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5777, allocations: 60.2 kB / 0.9935 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006692/0.5784, allocations: 275.2 kB / 0.9938 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.5785, allocations: 8 kB / 0.9938 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.5839, allocations: 7.126 MB / 1.001 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.5839, allocations: 4.031 kB / 1.001 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5853, allocations: 0.9873 MB / 1.002 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.5855, allocations: 196.2 kB / 1.002 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.5856, allocations: 11.94 kB / 1.002 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.5859, allocations: 27.97 kB / 1.002 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.586, allocations: 47.94 kB / 1.002 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5861, allocations: 12 kB / 1.002 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000394/0.5865, allocations: 383.1 kB / 1.002 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5865, allocations: 0 / 1.002 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007603/0.5872, allocations: 224 kB / 1.003 GB, free: 9.312 MB / 0.7637 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.00153/0.5888, allocations: 1.541 MB / 1.004 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.5907, allocations: 1.33 MB / 1.005 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5907, allocations: 0 / 1.005 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.5918, allocations: 0.9048 MB / 1.006 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.5928, allocations: 216.9 kB / 1.006 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.6002, allocations: 6.507 MB / 1.013 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.6007, allocations: 1.013 MB / 1.014 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.6011, allocations: 126 kB / 1.014 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.6014, allocations: 251.4 kB / 1.014 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/0.6014, allocations: 0 / 1.014 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.367/3.968, allocations: 17.12 MB / 1.031 GB, free: 12.06 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/14.06, allocations: 9.859 kB / 1.031 GB, free: 12.05 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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