Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001221/0.001221, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001223/0.001223, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 67.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5066, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007356/0.514, allocations: 6.743 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.5181, allocations: 3.048 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.5185, allocations: 23.81 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.5206, allocations: 0.8985 MB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009554/0.5216, allocations: 477.7 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.5224, allocations: 387.2 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.5236, allocations: 1.591 MB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.5244, allocations: 0.6386 MB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.5248, allocations: 426.2 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.5253, allocations: 0.5176 MB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.5254, allocations: 44 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.526, allocations: 455.1 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.5263, allocations: 295.1 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.5266, allocations: 429.7 kB / 1.032 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.5275, allocations: 1.207 MB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5276, allocations: 0 / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5276, allocations: 0 / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5276, allocations: 0 / 1.033 GB, free: 1.559 MB / 0.7794 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.001629/0.5292, allocations: 1.157 MB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5293, allocations: 15.98 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.5294, allocations: 122.7 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.5308, allocations: 235.8 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.5315, allocations: 0.5491 MB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.5315, allocations: 53.67 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.5316, allocations: 60.36 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5329, allocations: 1.081 MB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.533, allocations: 3.938 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.533, allocations: 35.98 kB / 1.037 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.5332, allocations: 89.25 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5342, allocations: 0.7465 MB / 1.037 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.5386, allocations: 5.897 MB / 1.043 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.5395, allocations: 0.5516 MB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.5399, allocations: 341.9 kB / 1.044 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.5399, allocations: 8.438 kB / 1.044 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.5399, allocations: 39 kB / 1.044 GB, free: 5.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.5399, allocations: 0 / 1.044 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003384/0.5433, allocations: 1.978 MB / 1.046 GB, free: 3.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5434, allocations: 55.84 kB / 1.046 GB, free: 3.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.5439, allocations: 0.5547 MB / 1.047 GB, free: 3.223 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5439, allocations: 37.64 kB / 1.047 GB, free: 3.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.5442, allocations: 422.9 kB / 1.047 GB, free: 2.758 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5443, allocations: 169.6 kB / 1.047 GB, free: 2.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5444, allocations: 122.5 kB / 1.047 GB, free: 2.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5446, allocations: 378.7 kB / 1.048 GB, free: 2.086 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.545, allocations: 277.8 kB / 1.048 GB, free: 1.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.5454, allocations: 497.5 kB / 1.048 GB, free: 1.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.5463, allocations: 0.8055 MB / 1.049 GB, free: 340 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5463, allocations: 0 / 1.049 GB, free: 340 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001597/0.548, allocations: 1.079 MB / 1.05 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.548, allocations: 18.05 kB / 1.05 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.548, allocations: 11.98 kB / 1.05 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/0.5488, allocations: 283.1 kB / 1.051 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.5492, allocations: 127.8 kB / 1.051 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.5545, allocations: 6.591 MB / 1.057 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.5549, allocations: 35.95 kB / 1.057 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.555, allocations: 32 kB / 1.057 GB, free: 7.598 MB / 0.8106 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.0002651/0.5553, allocations: 257.5 kB / 1.057 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5554, allocations: 71.16 kB / 1.058 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.5568, allocations: 0.8846 MB / 1.058 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5568, allocations: 8 kB / 1.058 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5568, allocations: 11.94 kB / 1.058 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5568, allocations: 8.016 kB / 1.058 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.5591, allocations: 1.713 MB / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5591, allocations: 192 / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.5593, allocations: 71.88 kB / 1.06 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007062/0.56, allocations: 271.3 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5601, allocations: 8 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005235/0.5653, allocations: 6.58 MB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5653, allocations: 3.938 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.5667, allocations: 0.9873 MB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.5669, allocations: 192.2 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.567, allocations: 19.92 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.5673, allocations: 24.11 kB / 1.068 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.5674, allocations: 43.94 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5675, allocations: 19.98 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003634/0.5678, allocations: 387 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5678, allocations: 0 / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006446/0.5685, allocations: 224 kB / 1.069 GB, free: 11.12 MB / 0.8262 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.001581/0.5701, allocations: 1.549 MB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.5717, allocations: 1.268 MB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5718, allocations: 4.125 kB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5729, allocations: 0.8854 MB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009045/0.5738, allocations: 201.9 kB / 1.073 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/0.5814, allocations: 6.814 MB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5819, allocations: 1.012 MB / 1.08 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.5823, allocations: 118.1 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5826, allocations: 259.3 kB / 1.081 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of SimCode: time 1.353e-06/0.5826, allocations: 0 / 1.081 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.066/3.649, allocations: 16.57 MB / 1.097 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/3.649, allocations: 233 kB / 1.097 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/6.251, allocations: 0 / 1.097 GB, free: 13.95 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches