Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_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.001444/0.001444, 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.001567/0.001567, allocations: 191 kB / 16.25 MB, free: 6.633 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.441 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.356/2.356, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5175, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01122/0.5287, allocations: 10.86 MB / 1.028 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.5403, allocations: 8.718 MB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.5416, allocations: 51.69 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003919/0.5455, allocations: 1.576 MB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.5492, allocations: 1.398 MB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.5508, allocations: 0.6083 MB / 1.04 GB, free: 11.4 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.5534, allocations: 2.294 MB / 1.042 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.5553, allocations: 1.551 MB / 1.043 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.5567, allocations: 0.9924 MB / 1.044 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.5582, allocations: 1.055 MB / 1.045 GB, free: 5.465 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.5586, allocations: 140 kB / 1.045 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.56, allocations: 0.7993 MB / 1.046 GB, free: 4.527 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.5607, allocations: 0.5725 MB / 1.047 GB, free: 3.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.5619, allocations: 0.8823 MB / 1.048 GB, free: 3.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.5646, allocations: 2.589 MB / 1.05 GB, free: 480 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5646, allocations: 0 / 1.05 GB, free: 480 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5647, allocations: 0 / 1.05 GB, free: 480 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.857e-05/0.5647, allocations: 0 / 1.05 GB, free: 480 kB / 0.795 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.002925/0.5676, allocations: 2.031 MB / 1.052 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5677, allocations: 8.031 kB / 1.052 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.5679, allocations: 186.1 kB / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.578, allocations: 2.05 MB / 1.054 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.5797, allocations: 1.119 MB / 1.055 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.5797, allocations: 90.69 kB / 1.056 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.5799, allocations: 115.9 kB / 1.056 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004748/0.5847, allocations: 2.486 MB / 1.058 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.5847, allocations: 7.938 kB / 1.058 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.5849, allocations: 51.98 kB / 1.058 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.5852, allocations: 126.1 kB / 1.058 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00632/0.5915, allocations: 2.549 MB / 1.061 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.6031, allocations: 10.07 MB / 1.071 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005505/0.6086, allocations: 1.952 MB / 1.073 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.6111, allocations: 0.9749 MB / 1.073 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.6111, allocations: 12.41 kB / 1.073 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.6112, allocations: 39 kB / 1.074 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.6112, allocations: 4 kB / 1.074 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.02817/0.6394, allocations: 8.711 MB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.6394, allocations: 64 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.6409, allocations: 1.101 MB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.641, allocations: 33.7 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.6415, allocations: 0.7339 MB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.6417, allocations: 283.9 kB / 1.084 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.6421, allocations: 202.5 kB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6422, allocations: 345.9 kB / 1.085 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.6449, allocations: 1.071 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.6477, allocations: 1.31 MB / 1.087 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.653, allocations: 2.374 MB / 1.089 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.653, allocations: 7.938 kB / 1.089 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007926/0.661, allocations: 3.276 MB / 1.093 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.661, allocations: 8.875 kB / 1.093 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.661, allocations: 4 kB / 1.093 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.6636, allocations: 0.795 MB / 1.093 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.6653, allocations: 415.2 kB / 1.094 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.6797, allocations: 15.93 MB / 1.109 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.6818, allocations: 291.6 kB / 1.11 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.682, allocations: 55.95 kB / 1.11 GB, free: 1.141 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 (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.0006871/0.6827, allocations: 397.5 kB / 1.11 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.683, allocations: 146.3 kB / 1.11 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008013/0.691, allocations: 3.206 MB / 1.113 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.691, allocations: 8.188 kB / 1.113 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.691, allocations: 11.98 kB / 1.113 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.6911, allocations: 7.969 kB / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.7011, allocations: 4.896 MB / 1.118 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.7011, allocations: 4 kB / 1.118 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.7026, allocations: 351.7 kB / 1.118 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.7048, allocations: 0.7096 MB / 1.119 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/0.7049, allocations: 31.97 kB / 1.119 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.7184, allocations: 15.53 MB / 1.134 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7184, allocations: 4 kB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/0.7258, allocations: 3.038 MB / 1.137 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/0.7265, allocations: 387.3 kB / 1.138 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.7268, allocations: 23.94 kB / 1.138 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.7286, allocations: 299.4 kB / 1.138 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.7288, allocations: 80.48 kB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.7289, allocations: 31.97 kB / 1.138 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009455/0.7299, allocations: 0.7405 MB / 1.139 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7299, allocations: 4 kB / 1.139 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001379/0.7313, allocations: 432 kB / 1.139 GB, free: 1.418 MB / 0.8887 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.007599/0.7389, allocations: 3.616 MB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008016/0.7469, allocations: 3.765 MB / 1.146 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7469, allocations: 4.062 kB / 1.146 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004475/0.7514, allocations: 2.367 MB / 1.149 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.7536, allocations: 0.521 MB / 1.149 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/0.7857, allocations: 17.11 MB / 1.166 GB, free: 5.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/0.7867, allocations: 1.392 MB / 1.167 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001536/0.7882, allocations: 375.9 kB / 1.168 GB, free: 3.293 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/0.789, allocations: 0.6008 MB / 1.168 GB, free: 2.695 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/0.789, allocations: 0 / 1.168 GB, free: 2.695 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07097/0.86, allocations: 41.33 MB / 1.209 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.8602, allocations: 225.6 kB / 1.209 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.268, allocations: 0 / 1.209 GB, free: 9.73 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches