Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001261/0.001261, allocations: 103.4 kB / 16.27 MB, free: 5.984 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.001409/0.001409, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 68.7 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3375, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0153/0.3529, allocations: 10.9 MB / 0.9609 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.3678, allocations: 8.807 MB / 0.9695 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.3699, allocations: 55.62 kB / 0.9696 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.3747, allocations: 1.672 MB / 0.9712 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.3796, allocations: 1.525 MB / 0.9727 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.3816, allocations: 0.6781 MB / 0.9734 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003148/0.3847, allocations: 2.275 MB / 0.9756 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.387, allocations: 1.384 MB / 0.9769 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.3889, allocations: 0.9886 MB / 0.9779 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.3908, allocations: 1.016 MB / 0.9789 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/0.3913, allocations: 140 kB / 0.979 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.3932, allocations: 0.7994 MB / 0.9798 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006731/0.3938, allocations: 0.5647 MB / 0.9804 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.395, allocations: 0.8861 MB / 0.9812 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.3982, allocations: 2.543 MB / 0.9837 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3982, allocations: 4 kB / 0.9837 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3982, allocations: 0 / 0.9837 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.196e-05/0.3982, allocations: 4 kB / 0.9837 GB, free: 6.461 MB / 0.7637 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.003097/0.4013, allocations: 2.023 MB / 0.9857 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4014, allocations: 8.031 kB / 0.9857 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4127, allocations: 2.042 MB / 0.9877 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.4149, allocations: 1.119 MB / 0.9888 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.415, allocations: 90.69 kB / 0.9889 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.4153, allocations: 124 kB / 0.989 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005589/0.4209, allocations: 2.474 MB / 0.9914 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.4209, allocations: 7.938 kB / 0.9914 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.4211, allocations: 59.92 kB / 0.9915 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003644/0.4215, allocations: 130.1 kB / 0.9916 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007552/0.429, allocations: 2.541 MB / 0.9941 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01522/0.4443, allocations: 10.07 MB / 1.004 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/0.4509, allocations: 1.956 MB / 1.006 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/0.4539, allocations: 0.9727 MB / 1.007 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.4539, allocations: 8.422 kB / 1.007 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.454, allocations: 39 kB / 1.007 GB, free: 13.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.415e-06/0.454, allocations: 0 / 1.007 GB, free: 13.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=81): time 0.03316/0.4871, allocations: 8.714 MB / 1.015 GB, free: 5.047 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4872, allocations: 60.06 kB / 1.015 GB, free: 4.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.4891, allocations: 1.101 MB / 1.016 GB, free: 3.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.4893, allocations: 37.7 kB / 1.016 GB, free: 3.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.4899, allocations: 0.7418 MB / 1.017 GB, free: 3.066 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.4903, allocations: 283.9 kB / 1.017 GB, free: 2.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.4908, allocations: 194.5 kB / 1.018 GB, free: 2.586 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4909, allocations: 341.9 kB / 1.018 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/0.4941, allocations: 1.075 MB / 1.019 GB, free: 1.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/0.4975, allocations: 1.309 MB / 1.02 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/0.5039, allocations: 2.39 MB / 1.023 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.504, allocations: 0 / 1.023 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01015/0.5141, allocations: 3.281 MB / 1.026 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5142, allocations: 9.719 kB / 1.026 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5142, allocations: 4 kB / 1.026 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.517, allocations: 0.795 MB / 1.027 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.519, allocations: 419.3 kB / 1.027 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.5358, allocations: 15.92 MB / 1.043 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.5383, allocations: 291.5 kB / 1.043 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.5385, allocations: 51.97 kB / 1.043 GB, free: 7.336 MB / 0.8262 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.0009495/0.5395, allocations: 401.5 kB / 1.043 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.54, allocations: 146.2 kB / 1.043 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009136/0.5491, allocations: 3.202 MB / 1.047 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.5492, allocations: 11.94 kB / 1.047 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.5492, allocations: 12 kB / 1.047 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5492, allocations: 3.984 kB / 1.047 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.5611, allocations: 4.901 MB / 1.051 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5612, allocations: 7.938 kB / 1.051 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.5628, allocations: 351.4 kB / 1.052 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/0.5652, allocations: 0.7059 MB / 1.052 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/0.5653, allocations: 31.97 kB / 1.052 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/0.5819, allocations: 15.54 MB / 1.068 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.582, allocations: 7.938 kB / 1.068 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/0.5911, allocations: 3.038 MB / 1.071 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/0.592, allocations: 383.2 kB / 1.071 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005308/0.5926, allocations: 23.98 kB / 1.071 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/0.595, allocations: 291.5 kB / 1.071 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.5953, allocations: 80.48 kB / 1.071 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5954, allocations: 35.97 kB / 1.071 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001344/0.5968, allocations: 0.7405 MB / 1.072 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5968, allocations: 0 / 1.072 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001937/0.5987, allocations: 436 kB / 1.073 GB, free: 7.609 MB / 0.8575 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.0003246/0.5991, allocations: 132.4 kB / 1.073 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00972/0.6088, allocations: 3.762 MB / 1.076 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.6089, allocations: 4.125 kB / 1.076 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005348/0.6142, allocations: 2.375 MB / 1.079 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.6172, allocations: 0.5189 MB / 1.079 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.418/1.035, allocations: 3.57 MB / 1.083 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.036, allocations: 1.387 MB / 1.084 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/1.037, allocations: 129.7 kB / 1.084 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of SimCode: time 8.92e-07/1.037, allocations: 1.094 kB / 1.084 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.07824/1.115, allocations: 74.98 MB / 1.157 GB, free: 80.78 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches