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.001887/0.001888, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003204/0.003204, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.594/1.594, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.686/2.686, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8582, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01179/0.87, allocations: 10.91 MB / 0.9602 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.8853, allocations: 8.796 MB / 0.9688 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.8873, allocations: 54.41 kB / 0.9689 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.8927, allocations: 1.683 MB / 0.9705 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005927/0.8986, allocations: 1.527 MB / 0.972 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.901, allocations: 0.674 MB / 0.9727 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.9055, allocations: 2.272 MB / 0.9749 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.9076, allocations: 1.391 MB / 0.9763 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.9101, allocations: 0.9742 MB / 0.9772 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.9135, allocations: 1.02 MB / 0.9782 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005635/0.9141, allocations: 137.9 kB / 0.9783 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.9171, allocations: 0.7961 MB / 0.9791 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.9178, allocations: 0.567 MB / 0.9797 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.9192, allocations: 0.8853 MB / 0.9805 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003681/0.9229, allocations: 2.543 MB / 0.983 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9229, allocations: 0 / 0.983 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9229, allocations: 0 / 0.983 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.923, allocations: 0 / 0.983 GB, free: 15.53 MB / 0.7481 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.003595/0.9266, allocations: 2.022 MB / 0.985 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.9266, allocations: 12.03 kB / 0.985 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.9382, allocations: 2.042 MB / 0.987 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.9412, allocations: 1.134 MB / 0.9881 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.9413, allocations: 86.69 kB / 0.9882 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.9416, allocations: 124 kB / 0.9883 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005902/0.9475, allocations: 2.482 MB / 0.9907 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.9476, allocations: 4 kB / 0.9907 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.9478, allocations: 59.98 kB / 0.9908 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/0.9482, allocations: 126.1 kB / 0.9909 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007649/0.9558, allocations: 2.545 MB / 0.9934 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.972, allocations: 10.07 MB / 1.003 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007233/0.9793, allocations: 1.952 MB / 1.005 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.9823, allocations: 0.9699 MB / 1.006 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.9824, allocations: 8.438 kB / 1.006 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.9825, allocations: 46.88 kB / 1.006 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.9825, allocations: 0 / 1.006 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.03439/1.017, allocations: 8.714 MB / 1.015 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.017, allocations: 60.06 kB / 1.015 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.019, allocations: 1.093 MB / 1.016 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/1.019, allocations: 41.7 kB / 1.016 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/1.02, allocations: 0.7418 MB / 1.017 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/1.02, allocations: 276 kB / 1.017 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004707/1.021, allocations: 206.3 kB / 1.017 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.021, allocations: 345.9 kB / 1.017 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/1.024, allocations: 1.075 MB / 1.018 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/1.028, allocations: 1.305 MB / 1.02 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/1.034, allocations: 2.386 MB / 1.022 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.034, allocations: 0 / 1.022 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009777/1.044, allocations: 3.277 MB / 1.025 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.044, allocations: 8 kB / 1.025 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.044, allocations: 4 kB / 1.025 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/1.047, allocations: 0.7991 MB / 1.026 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.049, allocations: 419.2 kB / 1.026 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/1.067, allocations: 15.92 MB / 1.042 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.069, allocations: 291.5 kB / 1.042 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/1.069, allocations: 51.97 kB / 1.042 GB, free: 412 kB / 0.795 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.0008988/1.07, allocations: 407.1 kB / 1.043 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/1.071, allocations: 142.5 kB / 1.043 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009461/1.08, allocations: 3.206 MB / 1.046 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/1.08, allocations: 11.94 kB / 1.046 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/1.08, allocations: 12 kB / 1.046 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/1.08, allocations: 3.984 kB / 1.046 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.093, allocations: 4.901 MB / 1.051 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.093, allocations: 11.88 kB / 1.051 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.095, allocations: 351.4 kB / 1.051 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.097, allocations: 0.7016 MB / 1.052 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.097, allocations: 43.89 kB / 1.052 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.114, allocations: 15.53 MB / 1.067 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.114, allocations: 4 kB / 1.067 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009728/1.124, allocations: 3.042 MB / 1.07 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.125, allocations: 387.2 kB / 1.07 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/1.126, allocations: 20.14 kB / 1.07 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.128, allocations: 291.4 kB / 1.071 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/1.128, allocations: 80.48 kB / 1.071 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/1.128, allocations: 43.95 kB / 1.071 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00127/1.13, allocations: 0.7366 MB / 1.071 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/1.13, allocations: 0 / 1.071 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001677/1.131, allocations: 436 kB / 1.072 GB, free: 0.6602 MB / 0.8262 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.0002693/1.132, allocations: 127.2 kB / 1.072 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009653/1.141, allocations: 3.758 MB / 1.076 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.141, allocations: 4.125 kB / 1.076 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005975/1.147, allocations: 2.371 MB / 1.078 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.151, allocations: 0.524 MB / 1.078 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009372/1.161, allocations: 3.466 MB / 1.082 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.162, allocations: 1.391 MB / 1.083 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002111/1.165, allocations: 387.8 kB / 1.084 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/1.165, allocations: 103.4 kB / 1.084 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of SimCode: time 1.803e-06/1.165, allocations: 0 / 1.084 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of Templates: time 0.05545/1.221, allocations: 30.24 MB / 1.113 GB, free: 6.402 MB / 0.8731 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/jenkins/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