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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008139/0.008139, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001967/0.001967, allocations: 195.4 kB / 16.79 MB, free: 5.809 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.588/1.588, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6722, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01078/0.683, allocations: 10.85 MB / 0.9602 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.6964, allocations: 8.807 MB / 0.9688 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.698, allocations: 51.09 kB / 0.9688 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.7023, allocations: 1.566 MB / 0.9704 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.7075, allocations: 1.395 MB / 0.9717 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.7098, allocations: 0.6104 MB / 0.9723 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004261/0.714, allocations: 2.893 MB / 0.9752 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002504/0.7166, allocations: 1.327 MB / 0.9764 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.7187, allocations: 0.8896 MB / 0.9773 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.7207, allocations: 1.019 MB / 0.9783 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.721, allocations: 87.59 kB / 0.9784 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.7233, allocations: 0.9063 MB / 0.9793 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.724, allocations: 0.5163 MB / 0.9798 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.7256, allocations: 0.8332 MB / 0.9806 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.7285, allocations: 2.019 MB / 0.9826 GB, free: 264 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7286, allocations: 0 / 0.9826 GB, free: 264 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7286, allocations: 4 kB / 0.9826 GB, free: 260 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.394e-05/0.7286, allocations: 0 / 0.9826 GB, free: 260 kB / 0.7325 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.003841/0.7325, allocations: 2.033 MB / 0.9846 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7325, allocations: 8.031 kB / 0.9846 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.7432, allocations: 2.042 MB / 0.9866 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.7455, allocations: 1.111 MB / 0.9876 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.7455, allocations: 98.67 kB / 0.9877 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.7458, allocations: 128 kB / 0.9879 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.7513, allocations: 2.478 MB / 0.9903 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.7514, allocations: 11.88 kB / 0.9903 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.7515, allocations: 51.98 kB / 0.9903 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000349/0.7519, allocations: 134.1 kB / 0.9905 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007014/0.7589, allocations: 2.537 MB / 0.9929 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.7724, allocations: 10.07 MB / 1.003 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.7782, allocations: 1.952 MB / 1.005 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.7809, allocations: 0.9679 MB / 1.006 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.781, allocations: 12.42 kB / 1.006 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.781, allocations: 39 kB / 1.006 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.781, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.03048/0.8115, allocations: 8.714 MB / 1.014 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8116, allocations: 64 kB / 1.014 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.813, allocations: 1.101 MB / 1.015 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.8131, allocations: 37.7 kB / 1.015 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.8136, allocations: 0.7418 MB / 1.016 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.8139, allocations: 280 kB / 1.016 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.8142, allocations: 198.4 kB / 1.017 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8144, allocations: 337.9 kB / 1.017 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.8171, allocations: 1.079 MB / 1.018 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.8199, allocations: 1.301 MB / 1.019 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/0.8255, allocations: 2.39 MB / 1.022 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8255, allocations: 4 kB / 1.022 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008267/0.8338, allocations: 3.273 MB / 1.025 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.8338, allocations: 13.91 kB / 1.025 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8338, allocations: 8 kB / 1.025 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.8367, allocations: 0.791 MB / 1.026 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.8385, allocations: 419.2 kB / 1.026 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.8541, allocations: 14.69 MB / 1.04 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.8563, allocations: 295.6 kB / 1.041 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.8566, allocations: 51.97 kB / 1.041 GB, free: 2.418 MB / 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.0008693/0.8574, allocations: 402.8 kB / 1.041 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.8578, allocations: 142.3 kB / 1.041 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008913/0.8668, allocations: 3.202 MB / 1.044 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8668, allocations: 12 kB / 1.044 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.8668, allocations: 4 kB / 1.044 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.8668, allocations: 3.984 kB / 1.044 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.8778, allocations: 4.912 MB / 1.049 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.8778, allocations: 8 kB / 1.049 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.8793, allocations: 359.7 kB / 1.049 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/0.8818, allocations: 0.698 MB / 1.05 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.8819, allocations: 31.97 kB / 1.05 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.8962, allocations: 14.31 MB / 1.064 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.8962, allocations: 16.08 kB / 1.064 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007865/0.9041, allocations: 3.042 MB / 1.067 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/0.905, allocations: 383.2 kB / 1.067 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.9054, allocations: 23.92 kB / 1.067 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.9072, allocations: 287.5 kB / 1.068 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.9075, allocations: 84.48 kB / 1.068 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.9076, allocations: 35.97 kB / 1.068 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001112/0.9087, allocations: 0.7366 MB / 1.069 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/0.9087, allocations: 0 / 1.069 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00159/0.9103, allocations: 439.9 kB / 1.069 GB, free: 3.961 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.0002736/0.9106, allocations: 135.2 kB / 1.069 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008099/0.9187, allocations: 3.617 MB / 1.073 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.9188, allocations: 0 / 1.073 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.9236, allocations: 2.368 MB / 1.075 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.9263, allocations: 485.6 kB / 1.075 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008107/0.9344, allocations: 4.163 MB / 1.079 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.9357, allocations: 1.384 MB / 1.081 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006257/0.9364, allocations: 127.3 kB / 1.081 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/0.9364, allocations: 0 / 1.081 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.07829/1.015, allocations: 74.98 MB / 1.154 GB, free: 12.48 MB / 0.92 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