Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001248/0.001248, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001298/0.001298, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437.1 MB / 0.7111 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.44 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01432/0.3351, allocations: 10.91 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.3498, allocations: 8.803 MB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.3515, allocations: 59.62 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.3563, allocations: 1.669 MB / 1.039 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.3623, allocations: 1.531 MB / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.3651, allocations: 0.6764 MB / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003961/0.3691, allocations: 2.271 MB / 1.043 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.3712, allocations: 1.388 MB / 1.045 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.3734, allocations: 0.977 MB / 1.046 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.3752, allocations: 1.019 MB / 1.047 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.3754, allocations: 136 kB / 1.047 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.3772, allocations: 0.8071 MB / 1.048 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005981/0.3778, allocations: 0.5648 MB / 1.048 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.3788, allocations: 0.8861 MB / 1.049 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.3821, allocations: 2.531 MB / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3822, allocations: 0 / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3822, allocations: 0 / 1.051 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.624e-05/0.3822, allocations: 0 / 1.051 GB, free: 8.297 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004013/0.3863, allocations: 2.025 MB / 1.053 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3863, allocations: 16.58 kB / 1.053 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.3975, allocations: 2.042 MB / 1.055 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.4001, allocations: 1.13 MB / 1.056 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.4002, allocations: 86.69 kB / 1.057 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.4005, allocations: 124.1 kB / 1.057 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005822/0.4064, allocations: 2.474 MB / 1.059 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.4064, allocations: 8 kB / 1.059 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.4066, allocations: 51.98 kB / 1.059 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/0.407, allocations: 126.1 kB / 1.059 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007334/0.4144, allocations: 2.549 MB / 1.062 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.4293, allocations: 10.08 MB / 1.072 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.4357, allocations: 1.953 MB / 1.074 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6204/1.056, allocations: 0.9645 MB / 1.074 GB, free: 60.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/1.056, allocations: 6.469 kB / 1.074 GB, free: 60.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/1.056, allocations: 44.59 kB / 1.075 GB, free: 60.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 3.536e-06/1.056, allocations: 3.656 kB / 1.075 GB, free: 60.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=81): time 0.03678/1.093, allocations: 8.713 MB / 1.083 GB, free: 59.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.093, allocations: 60.41 kB / 1.083 GB, free: 58.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/1.095, allocations: 1.099 MB / 1.084 GB, free: 58.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/1.095, allocations: 44.67 kB / 1.084 GB, free: 58.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/1.096, allocations: 0.7374 MB / 1.085 GB, free: 57.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.096, allocations: 278.4 kB / 1.085 GB, free: 57.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004608/1.097, allocations: 201.4 kB / 1.085 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/1.097, allocations: 342.8 kB / 1.086 GB, free: 57.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.1, allocations: 1.078 MB / 1.087 GB, free: 57.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/1.103, allocations: 1.302 MB / 1.088 GB, free: 56.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/1.109, allocations: 2.383 MB / 1.09 GB, free: 55.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.109, allocations: 2.344 kB / 1.09 GB, free: 55.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009748/1.119, allocations: 3.275 MB / 1.094 GB, free: 54.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.119, allocations: 7.469 kB / 1.094 GB, free: 54.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.119, allocations: 7.344 kB / 1.094 GB, free: 54.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/1.122, allocations: 0.7931 MB / 1.094 GB, free: 54.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.124, allocations: 420.2 kB / 1.095 GB, free: 54.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.138, allocations: 15.93 MB / 1.11 GB, free: 40.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/1.141, allocations: 289.2 kB / 1.111 GB, free: 40.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.141, allocations: 52.53 kB / 1.111 GB, free: 40.92 MB / 0.8419 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.0007914/1.142, allocations: 398.2 kB / 1.111 GB, free: 40.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.142, allocations: 142.4 kB / 1.111 GB, free: 40.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008962/1.151, allocations: 3.208 MB / 1.114 GB, free: 39.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.152, allocations: 8 kB / 1.114 GB, free: 39.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.152, allocations: 11.28 kB / 1.114 GB, free: 39.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.152, allocations: 4.719 kB / 1.114 GB, free: 39.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.163, allocations: 4.896 MB / 1.119 GB, free: 37.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.163, allocations: 2.5 kB / 1.119 GB, free: 37.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.164, allocations: 352.8 kB / 1.119 GB, free: 37.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002322/1.167, allocations: 0.7039 MB / 1.12 GB, free: 37.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.167, allocations: 34.94 kB / 1.12 GB, free: 36.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.179, allocations: 15.54 MB / 1.135 GB, free: 22.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.179, allocations: 11.25 kB / 1.135 GB, free: 22.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008171/1.187, allocations: 3.04 MB / 1.138 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/1.188, allocations: 387.3 kB / 1.139 GB, free: 20.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.189, allocations: 22.28 kB / 1.139 GB, free: 20.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.191, allocations: 288.3 kB / 1.139 GB, free: 20.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/1.191, allocations: 85.33 kB / 1.139 GB, free: 20.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/1.191, allocations: 46.64 kB / 1.139 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00103/1.192, allocations: 0.7342 MB / 1.14 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.42e-07/1.192, allocations: 0 / 1.14 GB, free: 20.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00203/1.194, allocations: 435.2 kB / 1.14 GB, free: 20.09 MB / 0.8419 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.0002543/1.194, allocations: 129.6 kB / 1.14 GB, free: 19.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008627/1.203, allocations: 3.757 MB / 1.144 GB, free: 17.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.203, allocations: 5.5 kB / 1.144 GB, free: 17.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004693/1.208, allocations: 2.373 MB / 1.146 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.21, allocations: 0.5236 MB / 1.147 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/1.217, allocations: 3.559 MB / 1.15 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/1.218, allocations: 1.389 MB / 1.152 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/1.219, allocations: 129.4 kB / 1.152 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of SimCode: time 1.353e-06/1.219, allocations: 0 / 1.152 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.0914/1.31, allocations: 74.98 MB / 1.225 GB, free: 3.121 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches