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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 115.3 kB / 15.34 MB, free: 0.5156 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.001168/0.001168, allocations: 190.8 kB / 16.25 MB, free: 6.641 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437 MB / 0.7101 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5136, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007556/0.5212, allocations: 6.741 MB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.5251, allocations: 3.028 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.5253, allocations: 23.81 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.5273, allocations: 0.8868 MB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.528, allocations: 481.6 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.5288, allocations: 380.6 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.5298, allocations: 1.228 MB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000818/0.5306, allocations: 0.7348 MB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.5311, allocations: 474.3 kB / 1.031 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005944/0.5317, allocations: 0.5332 MB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.5318, allocations: 68 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.5323, allocations: 383.2 kB / 1.032 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.5325, allocations: 307.1 kB / 1.032 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.5329, allocations: 449.7 kB / 1.032 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.5339, allocations: 1.23 MB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5339, allocations: 4 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5339, allocations: 7.875 kB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5339, allocations: 0 / 1.033 GB, free: 1.758 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.001624/0.5356, allocations: 1.145 MB / 1.035 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.5356, allocations: 8.031 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.5357, allocations: 122.7 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.5372, allocations: 239.6 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.5379, allocations: 0.5491 MB / 1.035 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.5379, allocations: 53.67 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.538, allocations: 60.36 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5393, allocations: 1.081 MB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5394, allocations: 11.94 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.5394, allocations: 31.97 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.5396, allocations: 81.27 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.5406, allocations: 0.7582 MB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.5452, allocations: 5.897 MB / 1.043 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.5461, allocations: 0.5535 MB / 1.044 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.5465, allocations: 330 kB / 1.044 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.5465, allocations: 4.438 kB / 1.044 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5465, allocations: 39 kB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.493e-06/0.5466, allocations: 0 / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003385/0.5499, allocations: 1.99 MB / 1.046 GB, free: 4.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.55, allocations: 55.84 kB / 1.046 GB, free: 3.996 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.5505, allocations: 0.5508 MB / 1.047 GB, free: 3.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.5505, allocations: 33.7 kB / 1.047 GB, free: 3.398 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.5508, allocations: 418.9 kB / 1.047 GB, free: 2.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5509, allocations: 173.6 kB / 1.047 GB, free: 2.812 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.5511, allocations: 126.5 kB / 1.047 GB, free: 2.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5512, allocations: 374.7 kB / 1.048 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.5516, allocations: 273.8 kB / 1.048 GB, free: 2.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.5521, allocations: 0.4897 MB / 1.048 GB, free: 1.453 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.553, allocations: 0.8054 MB / 1.049 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.553, allocations: 4 kB / 1.049 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001619/0.5546, allocations: 1.087 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5547, allocations: 8 kB / 1.05 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5547, allocations: 8.094 kB / 1.05 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000743/0.5554, allocations: 283.2 kB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.5558, allocations: 123.8 kB / 1.051 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.5616, allocations: 7.149 MB / 1.058 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.5621, allocations: 43.95 kB / 1.058 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.5621, allocations: 28 kB / 1.058 GB, free: 7.234 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.0002642/0.5624, allocations: 250.3 kB / 1.058 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.5625, allocations: 71.25 kB / 1.058 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.5639, allocations: 0.8886 MB / 1.059 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5639, allocations: 4 kB / 1.059 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.564, allocations: 4 kB / 1.059 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.564, allocations: 3.984 kB / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.5662, allocations: 1.72 MB / 1.061 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5662, allocations: 3.938 kB / 1.061 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.5665, allocations: 59.89 kB / 1.061 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006655/0.5671, allocations: 271.3 kB / 1.061 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.5672, allocations: 11.98 kB / 1.061 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005731/0.5729, allocations: 7.127 MB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5729, allocations: 192 / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.5743, allocations: 0.9796 MB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.5745, allocations: 200.2 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.5746, allocations: 11.94 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.5749, allocations: 31.97 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.575, allocations: 43.94 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.5751, allocations: 8 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003635/0.5754, allocations: 391 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5754, allocations: 0 / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006563/0.5761, allocations: 227.9 kB / 1.07 GB, free: 10.21 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.001638/0.5777, allocations: 1.556 MB / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.5796, allocations: 1.322 MB / 1.073 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.5796, allocations: 4 kB / 1.073 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.5808, allocations: 0.8893 MB / 1.073 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009412/0.5817, allocations: 226.9 kB / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007773/0.5895, allocations: 6.815 MB / 1.08 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.59, allocations: 1.005 MB / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.5904, allocations: 118 kB / 1.081 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.5907, allocations: 247.4 kB / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.5907, allocations: 0 / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.6272, allocations: 17.11 MB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.6275, allocations: 231.5 kB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.572, allocations: 0 / 1.099 GB, free: 12.45 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