Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 110.3 kB / 15.99 MB, free: 6.359 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.001453/0.001453, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.317/1.317, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.51/2.51, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 64.36 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.291, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01316/0.3042, allocations: 10.86 MB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4625/0.7668, allocations: 8.695 MB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.768, allocations: 53.75 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.7716, allocations: 1.58 MB / 1.085 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.7757, allocations: 1.394 MB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.7773, allocations: 0.6089 MB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.7802, allocations: 2.288 MB / 1.089 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.7822, allocations: 1.547 MB / 1.091 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.784, allocations: 1 MB / 1.092 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.7856, allocations: 1.049 MB / 1.093 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.7859, allocations: 138.1 kB / 1.093 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.7877, allocations: 0.8064 MB / 1.093 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006302/0.7883, allocations: 0.5669 MB / 1.094 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009566/0.7893, allocations: 0.8837 MB / 1.095 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.792, allocations: 2.034 MB / 1.097 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.792, allocations: 0 / 1.097 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.792, allocations: 0 / 1.097 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.209e-05/0.7921, allocations: 0.8125 kB / 1.097 GB, free: 6.809 MB / 0.8419 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.003647/0.7957, allocations: 2.02 MB / 1.099 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7958, allocations: 9.812 kB / 1.099 GB, free: 5.539 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.8069, allocations: 2.047 MB / 1.101 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.8095, allocations: 1.129 MB / 1.102 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.8096, allocations: 92.25 kB / 1.102 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.8098, allocations: 113.7 kB / 1.102 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.8154, allocations: 2.489 MB / 1.105 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.8155, allocations: 2.891 kB / 1.105 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.8156, allocations: 53.31 kB / 1.105 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003942/0.816, allocations: 132.1 kB / 1.105 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006853/0.8229, allocations: 2.539 MB / 1.107 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.8365, allocations: 10.08 MB / 1.117 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/0.8425, allocations: 1.946 MB / 1.119 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.8452, allocations: 0.9718 MB / 1.12 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.8452, allocations: 5.531 kB / 1.12 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.8453, allocations: 42.47 kB / 1.12 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=53): time 2.235e-06/0.8453, allocations: 0 / 1.12 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=81): time 0.02992/0.8752, allocations: 8.709 MB / 1.128 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.8753, allocations: 63.28 kB / 1.129 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.8769, allocations: 1.095 MB / 1.13 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.877, allocations: 38.48 kB / 1.13 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/0.8776, allocations: 0.7437 MB / 1.13 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.8779, allocations: 289 kB / 1.131 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.8784, allocations: 199.3 kB / 1.131 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.8785, allocations: 343.1 kB / 1.131 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.8813, allocations: 1.074 MB / 1.132 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.8843, allocations: 1.298 MB / 1.133 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00574/0.89, allocations: 2.386 MB / 1.136 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.89, allocations: 2.188 kB / 1.136 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00877/0.8988, allocations: 3.278 MB / 1.139 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.8989, allocations: 7.125 kB / 1.139 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8989, allocations: 9.75 kB / 1.139 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.9017, allocations: 0.8003 MB / 1.14 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.9036, allocations: 417.4 kB / 1.14 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.9207, allocations: 15.93 MB / 1.156 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.9232, allocations: 291.8 kB / 1.156 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9234, allocations: 53.88 kB / 1.156 GB, free: 2.297 MB / 0.8731 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.0009259/0.9243, allocations: 396.2 kB / 1.156 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.9247, allocations: 142.8 kB / 1.157 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008569/0.9333, allocations: 3.208 MB / 1.16 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.9333, allocations: 7.656 kB / 1.16 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.9333, allocations: 10.91 kB / 1.16 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9333, allocations: 5.422 kB / 1.16 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.9445, allocations: 4.905 MB / 1.165 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.9446, allocations: 2.5 kB / 1.165 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.9461, allocations: 352.2 kB / 1.165 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.9485, allocations: 0.7187 MB / 1.166 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.9486, allocations: 32.81 kB / 1.166 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.9641, allocations: 15.53 MB / 1.181 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.9642, allocations: 8 kB / 1.181 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/0.9721, allocations: 3.042 MB / 1.184 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/0.9729, allocations: 383.1 kB / 1.184 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.9732, allocations: 27.92 kB / 1.184 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.9749, allocations: 287.5 kB / 1.184 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.9752, allocations: 88.42 kB / 1.185 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.9753, allocations: 31.97 kB / 1.185 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001002/0.9763, allocations: 0.7405 MB / 1.185 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9763, allocations: 0 / 1.185 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001491/0.9778, allocations: 440 kB / 1.186 GB, free: 8.113 MB / 0.9044 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.0002504/0.978, allocations: 136 kB / 1.186 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008403/0.9864, allocations: 3.752 MB / 1.189 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9865, allocations: 0 / 1.189 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004834/0.9913, allocations: 2.378 MB / 1.192 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.9937, allocations: 0.5201 MB / 1.192 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007761/1.001, allocations: 4.165 MB / 1.196 GB, free: 12.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.003, allocations: 1.391 MB / 1.198 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/1.003, allocations: 123.3 kB / 1.198 GB, free: 11.36 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/1.003, allocations: 0 / 1.198 GB, free: 11.36 MB / 0.92 GB Notification: Performance of Templates: time 0.07725/1.08, allocations: 74.97 MB / 1.271 GB, free: 480 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches