Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.001413/0.001413, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 65.38 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008017/0.246, allocations: 6.738 MB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004036/0.25, allocations: 3.036 MB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.2502, allocations: 23.88 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.2523, allocations: 0.9471 MB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007596/0.2531, allocations: 0.5051 MB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.2539, allocations: 420.6 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2549, allocations: 1.232 MB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007873/0.2557, allocations: 0.6586 MB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.2562, allocations: 474.2 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.2567, allocations: 0.5139 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/0.2569, allocations: 71.94 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.2574, allocations: 379.1 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.2577, allocations: 307.2 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.2581, allocations: 449.7 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2592, allocations: 1.199 MB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2592, allocations: 4 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2592, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2592, allocations: 0 / 1.081 GB, free: 13.24 MB / 0.8419 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.001688/0.2609, allocations: 1.157 MB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2609, allocations: 8.031 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.2611, allocations: 126.7 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.2626, allocations: 235.5 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.2634, allocations: 0.5415 MB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.2634, allocations: 45.67 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.2635, allocations: 68.27 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2649, allocations: 1.089 MB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.2649, allocations: 7.938 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/0.265, allocations: 35.97 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.2651, allocations: 81.27 kB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2662, allocations: 0.7581 MB / 1.085 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.2713, allocations: 5.893 MB / 1.09 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.2723, allocations: 0.5522 MB / 1.091 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.2727, allocations: 330 kB / 1.091 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2727, allocations: 4.438 kB / 1.091 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2728, allocations: 39 kB / 1.091 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.433e-06/0.2728, allocations: 0 / 1.091 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003599/0.2764, allocations: 1.99 MB / 1.093 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.2764, allocations: 55.84 kB / 1.093 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.277, allocations: 0.547 MB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.2771, allocations: 37.7 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.2773, allocations: 414.9 kB / 1.094 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.2775, allocations: 173.5 kB / 1.094 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.2777, allocations: 122.5 kB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2779, allocations: 382.7 kB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.2783, allocations: 273.8 kB / 1.095 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.2788, allocations: 493 kB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2798, allocations: 0.8093 MB / 1.096 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2799, allocations: 4 kB / 1.096 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001771/0.2816, allocations: 1.094 MB / 1.098 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2817, allocations: 8 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2817, allocations: 4 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/0.2825, allocations: 295.8 kB / 1.098 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.2829, allocations: 127.7 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.2895, allocations: 7.126 MB / 1.105 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.29, allocations: 43.95 kB / 1.105 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.29, allocations: 28 kB / 1.105 GB, free: 2.719 MB / 0.8575 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.0002783/0.2903, allocations: 253.6 kB / 1.105 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2904, allocations: 71.16 kB / 1.105 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2919, allocations: 0.8923 MB / 1.106 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2919, allocations: 4 kB / 1.106 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2919, allocations: 4 kB / 1.106 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.292, allocations: 7.969 kB / 1.106 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.2944, allocations: 1.724 MB / 1.108 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2944, allocations: 3.938 kB / 1.108 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.2947, allocations: 59.89 kB / 1.108 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.2954, allocations: 271.5 kB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.2954, allocations: 15.98 kB / 1.108 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006431/0.3019, allocations: 7.131 MB / 1.115 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3019, allocations: 0 / 1.115 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3033, allocations: 0.9834 MB / 1.116 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.3035, allocations: 184.4 kB / 1.116 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.3036, allocations: 23.83 kB / 1.116 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.304, allocations: 31.97 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.3041, allocations: 43.88 kB / 1.116 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3041, allocations: 16 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004006/0.3045, allocations: 391 kB / 1.117 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 0 / 1.117 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006403/0.3052, allocations: 220 kB / 1.117 GB, free: 5.668 MB / 0.8731 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.001736/0.3069, allocations: 1.533 MB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.3088, allocations: 1.334 MB / 1.12 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.3089, allocations: 4 kB / 1.12 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.3101, allocations: 0.8894 MB / 1.121 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.311, allocations: 223.1 kB / 1.121 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.319, allocations: 6.51 MB / 1.127 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.3197, allocations: 1.005 MB / 1.128 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003766/0.3201, allocations: 126 kB / 1.128 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.3204, allocations: 251.3 kB / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.3204, allocations: 0 / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.435/1.756, allocations: 17.13 MB / 1.145 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/19.47, allocations: 4 kB / 1.145 GB, free: 8.414 MB / 0.9044 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches