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.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,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.000831/0.000831, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00562/0.00562, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.352/2.352, allocations: 437.8 MB / 0.7121 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 8 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5703, allocations: 153.8 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01061/0.5809, allocations: 10.36 MB / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.5923, allocations: 8.684 MB / 1.042 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.5934, allocations: 51.62 kB / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.5943, allocations: 277.8 kB / 1.042 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.5979, allocations: 1.396 MB / 1.043 GB, free: 10.95 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.5994, allocations: 0.6195 MB / 1.044 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.6023, allocations: 2.898 MB / 1.047 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.6053, allocations: 1.953 MB / 1.049 GB, free: 5.414 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.6066, allocations: 0.8168 MB / 1.05 GB, free: 4.594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.608, allocations: 0.9414 MB / 1.05 GB, free: 3.648 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.6083, allocations: 60 kB / 1.051 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.6098, allocations: 0.885 MB / 1.051 GB, free: 2.703 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005108/0.6103, allocations: 490.3 kB / 1.052 GB, free: 2.223 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009091/0.6113, allocations: 0.798 MB / 1.053 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.614, allocations: 2.491 MB / 1.055 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.614, allocations: 0 / 1.055 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.614, allocations: 0 / 1.055 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.544e-05/0.6141, allocations: 0 / 1.055 GB, free: 14.91 MB / 0.8106 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.002887/0.617, allocations: 1.71 MB / 1.057 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.617, allocations: 12.03 kB / 1.057 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002922/0.6173, allocations: 190.1 kB / 1.057 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.6284, allocations: 2.113 MB / 1.059 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.6302, allocations: 1.126 MB / 1.06 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.6302, allocations: 86.69 kB / 1.06 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.6305, allocations: 111.9 kB / 1.06 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005238/0.6357, allocations: 2.506 MB / 1.063 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.6358, allocations: 11.84 kB / 1.063 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.6359, allocations: 59.92 kB / 1.063 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003319/0.6363, allocations: 134.1 kB / 1.063 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007136/0.6434, allocations: 2.592 MB / 1.065 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.6556, allocations: 10.11 MB / 1.075 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/0.6619, allocations: 1.999 MB / 1.077 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.6646, allocations: 0.9894 MB / 1.078 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.6647, allocations: 8.438 kB / 1.078 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6647, allocations: 50.92 kB / 1.078 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.235e-06/0.6647, allocations: 0 / 1.078 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.03007/0.6948, allocations: 8.773 MB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6949, allocations: 64 kB / 1.087 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.6963, allocations: 1.101 MB / 1.088 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6964, allocations: 41.7 kB / 1.088 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/0.6969, allocations: 0.7341 MB / 1.089 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.6971, allocations: 283.9 kB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6973, allocations: 81.67 kB / 1.089 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6974, allocations: 341.9 kB / 1.089 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/0.7003, allocations: 1.095 MB / 1.091 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/0.7034, allocations: 1.329 MB / 1.092 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/0.7093, allocations: 2.417 MB / 1.094 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.7093, allocations: 4 kB / 1.094 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008594/0.7179, allocations: 3.324 MB / 1.097 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.718, allocations: 10.19 kB / 1.097 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.718, allocations: 8 kB / 1.097 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.7206, allocations: 0.7833 MB / 1.098 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.7225, allocations: 423.2 kB / 1.099 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.7362, allocations: 14.72 MB / 1.113 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.7384, allocations: 303.6 kB / 1.113 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.7385, allocations: 51.97 kB / 1.113 GB, free: 0.8359 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.0007166/0.7393, allocations: 397.4 kB / 1.114 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.7396, allocations: 150.2 kB / 1.114 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/0.7483, allocations: 3.238 MB / 1.117 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7483, allocations: 8 kB / 1.117 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.7484, allocations: 8 kB / 1.117 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7484, allocations: 7.984 kB / 1.117 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.759, allocations: 4.955 MB / 1.122 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.759, allocations: 4 kB / 1.122 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.7606, allocations: 359.4 kB / 1.122 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.7628, allocations: 0.7054 MB / 1.123 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/0.7629, allocations: 31.97 kB / 1.123 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.7758, allocations: 14.33 MB / 1.137 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7758, allocations: 7.938 kB / 1.137 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/0.7837, allocations: 3.085 MB / 1.14 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.7843, allocations: 387.3 kB / 1.14 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.7846, allocations: 12 kB / 1.14 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.7866, allocations: 307.5 kB / 1.141 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.7868, allocations: 84.48 kB / 1.141 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/0.7869, allocations: 35.95 kB / 1.141 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009469/0.7878, allocations: 0.7482 MB / 1.141 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7878, allocations: 0 / 1.141 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001335/0.7892, allocations: 436 kB / 1.142 GB, free: 2.219 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.008201/0.7974, allocations: 3.66 MB / 1.145 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00819/0.8056, allocations: 3.656 MB / 1.149 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8056, allocations: 0 / 1.149 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/0.8104, allocations: 2.387 MB / 1.151 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.8131, allocations: 487.6 kB / 1.152 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03471/0.8478, allocations: 17.28 MB / 1.169 GB, free: 5.805 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.8491, allocations: 1.388 MB / 1.17 GB, free: 4.383 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001536/0.8506, allocations: 379.8 kB / 1.17 GB, free: 4.008 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008104/0.8515, allocations: 0.6008 MB / 1.171 GB, free: 3.41 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.8515, allocations: 0 / 1.171 GB, free: 3.41 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6717/1.523, allocations: 39.54 MB / 1.21 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/1.523, allocations: 227.4 kB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/4.114, allocations: 0 / 1.21 GB, free: 12.2 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