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.001225/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001245/0.001245, allocations: 196.9 kB / 16.14 MB, free: 6.719 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.8 MB, free: 4.617 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.399/2.399, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.509, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01098/0.52, allocations: 10.87 MB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.5307, allocations: 8.785 MB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.5317, allocations: 63.56 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.5353, allocations: 1.564 MB / 1.038 GB, free: 13.47 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.5385, allocations: 1.393 MB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.5399, allocations: 0.616 MB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.5425, allocations: 2.891 MB / 1.042 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.5442, allocations: 1.325 MB / 1.044 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.5455, allocations: 0.8831 MB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.5468, allocations: 1.039 MB / 1.045 GB, free: 5.273 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.5471, allocations: 88 kB / 1.046 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.5486, allocations: 0.9046 MB / 1.046 GB, free: 4.281 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.5491, allocations: 0.5218 MB / 1.047 GB, free: 3.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.5498, allocations: 0.8314 MB / 1.048 GB, free: 2.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.5519, allocations: 2.535 MB / 1.05 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.5519, allocations: 0 / 1.05 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5519, allocations: 0 / 1.05 GB, free: 388 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.5519, allocations: 4 kB / 1.05 GB, free: 384 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.002808/0.5547, allocations: 2.025 MB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5548, allocations: 8.031 kB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.555, allocations: 190.1 kB / 1.052 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.5652, allocations: 2.046 MB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.5668, allocations: 1.122 MB / 1.055 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.5669, allocations: 86.69 kB / 1.056 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.5671, allocations: 119.9 kB / 1.056 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/0.5718, allocations: 2.482 MB / 1.058 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.5718, allocations: 0 / 1.058 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.572, allocations: 59.92 kB / 1.058 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/0.5723, allocations: 138 kB / 1.058 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006282/0.5786, allocations: 2.541 MB / 1.061 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.5901, allocations: 10.07 MB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.5955, allocations: 1.944 MB / 1.073 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.5979, allocations: 0.9698 MB / 1.073 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.5979, allocations: 20.36 kB / 1.073 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.598, allocations: 42.98 kB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.598, allocations: 0 / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=81): time 0.02874/0.6267, allocations: 8.707 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6268, allocations: 64 kB / 1.082 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.6281, allocations: 1.101 MB / 1.083 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-05/0.6282, allocations: 45.64 kB / 1.083 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.6287, allocations: 0.7341 MB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.6289, allocations: 283.9 kB / 1.084 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.6293, allocations: 194.5 kB / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6294, allocations: 345.9 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002624/0.632, allocations: 1.075 MB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.6348, allocations: 1.31 MB / 1.087 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.6402, allocations: 2.378 MB / 1.089 GB, free: 7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6402, allocations: 0 / 1.089 GB, free: 7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008027/0.6482, allocations: 3.277 MB / 1.093 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6483, allocations: 12.03 kB / 1.093 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6483, allocations: 4 kB / 1.093 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.6511, allocations: 0.791 MB / 1.093 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.6528, allocations: 419.2 kB / 1.094 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.6665, allocations: 14.7 MB / 1.108 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.6684, allocations: 295.6 kB / 1.108 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.6686, allocations: 47.97 kB / 1.108 GB, free: 2.336 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.0006563/0.6692, allocations: 405.4 kB / 1.109 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.6695, allocations: 142.3 kB / 1.109 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/0.6775, allocations: 3.206 MB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6775, allocations: 8 kB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.6776, allocations: 8 kB / 1.112 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6776, allocations: 3.984 kB / 1.112 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009978/0.6876, allocations: 4.897 MB / 1.117 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6876, allocations: 3.938 kB / 1.117 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.6891, allocations: 355.7 kB / 1.117 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.6914, allocations: 0.7014 MB / 1.118 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.6915, allocations: 27.97 kB / 1.118 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.7045, allocations: 14.31 MB / 1.132 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7045, allocations: 4 kB / 1.132 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007285/0.7118, allocations: 3.046 MB / 1.135 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.7125, allocations: 387 kB / 1.135 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.7127, allocations: 20 kB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.7145, allocations: 291.5 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.7147, allocations: 80.48 kB / 1.136 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.7148, allocations: 39.97 kB / 1.136 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009313/0.7157, allocations: 0.7404 MB / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7157, allocations: 0 / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001359/0.7171, allocations: 432 kB / 1.137 GB, free: 3.902 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.007552/0.7246, allocations: 3.629 MB / 1.14 GB, free: 192 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00765/0.7323, allocations: 3.617 MB / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.7323, allocations: 0 / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004444/0.7368, allocations: 2.375 MB / 1.146 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.739, allocations: 482.4 kB / 1.147 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/0.7714, allocations: 17.13 MB / 1.163 GB, free: 7.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.7724, allocations: 1.388 MB / 1.165 GB, free: 6.305 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001534/0.774, allocations: 371.9 kB / 1.165 GB, free: 5.938 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008062/0.7748, allocations: 0.6008 MB / 1.166 GB, free: 5.34 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.7748, allocations: 0 / 1.166 GB, free: 5.34 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.478/2.252, allocations: 40.11 MB / 1.205 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/2.253, allocations: 227 kB / 1.205 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/5.202, allocations: 0 / 1.205 GB, free: 13.54 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