Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, 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.01004/0.01004, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 462.7 MB / 0.7364 GB, free: 236 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 8.875 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.337, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006111/0.3432, allocations: 5.678 MB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004715/0.3479, allocations: 3.122 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.3484, allocations: 23.81 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003545/0.3488, allocations: 127 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.3499, allocations: 442 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.351, allocations: 438.3 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.3524, allocations: 1.459 MB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.3541, allocations: 0.9962 MB / 1.071 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.3546, allocations: 358.3 kB / 1.071 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.3551, allocations: 450.2 kB / 1.071 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.3552, allocations: 28 kB / 1.071 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.3561, allocations: 0.5691 MB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.3564, allocations: 259.2 kB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.3567, allocations: 383.7 kB / 1.073 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.3578, allocations: 1.156 MB / 1.074 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3578, allocations: 4 kB / 1.074 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3578, allocations: 7.984 kB / 1.074 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.3578, allocations: 0 / 1.074 GB, free: 5.898 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001312/0.3592, allocations: 0.9077 MB / 1.075 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3592, allocations: 8.031 kB / 1.075 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.3606, allocations: 223.7 kB / 1.075 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.3614, allocations: 0.522 MB / 1.075 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.3614, allocations: 49.67 kB / 1.075 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3615, allocations: 64.27 kB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3629, allocations: 1.034 MB / 1.076 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3629, allocations: 7.938 kB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.363, allocations: 31.98 kB / 1.077 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.3631, allocations: 73.27 kB / 1.077 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.3641, allocations: 0.6918 MB / 1.077 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.3688, allocations: 5.76 MB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.3696, allocations: 0.6018 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.3704, allocations: 412.6 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.3704, allocations: 4 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3704, allocations: 38.56 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.3704, allocations: 0 / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004261/0.3747, allocations: 2.069 MB / 1.086 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3748, allocations: 59.41 kB / 1.086 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.3752, allocations: 450.8 kB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3753, allocations: 37.7 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.3755, allocations: 391 kB / 1.087 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3756, allocations: 149.9 kB / 1.087 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.3757, allocations: 45.7 kB / 1.087 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3759, allocations: 370.8 kB / 1.087 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3762, allocations: 249.1 kB / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.3767, allocations: 453 kB / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.3775, allocations: 0.7519 MB / 1.089 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3775, allocations: 4 kB / 1.089 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001766/0.3793, allocations: 1.062 MB / 1.09 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3793, allocations: 11.94 kB / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3794, allocations: 4 kB / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.3804, allocations: 335.2 kB / 1.09 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.3807, allocations: 103.8 kB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.387, allocations: 6.951 MB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.3874, allocations: 32.3 kB / 1.097 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.3875, allocations: 28 kB / 1.097 GB, free: 12.4 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.3878, allocations: 251.2 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.3879, allocations: 67.19 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.3896, allocations: 0.9116 MB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3896, allocations: 4 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3896, allocations: 4 kB / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3897, allocations: 3.984 kB / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.3922, allocations: 1.7 MB / 1.1 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3922, allocations: 0 / 1.1 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3924, allocations: 44.09 kB / 1.1 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/0.3934, allocations: 331.1 kB / 1.1 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.3934, allocations: 12 kB / 1.1 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006276/0.3997, allocations: 6.943 MB / 1.107 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3997, allocations: 0 / 1.107 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.4015, allocations: 1.009 MB / 1.108 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.4017, allocations: 180.3 kB / 1.108 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.4018, allocations: 8 kB / 1.108 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.4021, allocations: 23.91 kB / 1.108 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4022, allocations: 47.89 kB / 1.108 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.4022, allocations: 8 kB / 1.108 GB, free: 132 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003617/0.4026, allocations: 310.9 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3e-07/0.4026, allocations: 4 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007961/0.4034, allocations: 192 kB / 1.109 GB, free: 15.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001581/0.4036, allocations: 111.2 kB / 1.109 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.4055, allocations: 1.199 MB / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4055, allocations: 0 / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4067, allocations: 0.8621 MB / 1.111 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.4078, allocations: 191 kB / 1.111 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.4106, allocations: 1.539 MB / 1.113 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.4114, allocations: 0.9921 MB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.4118, allocations: 97.17 kB / 1.114 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.4119, allocations: 35.44 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of SimCode: time 1.072e-06/0.4119, allocations: 0 / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.02038/0.4323, allocations: 9.454 MB / 1.123 GB, free: 1.086 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches