Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.2 kB / 16.27 MB, free: 6 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.001042/0.001042, allocations: 191 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.276/2.276, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 66.55 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3126, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006957/0.3196, allocations: 4.863 MB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004469/0.3241, allocations: 2.44 MB / 0.9574 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.3247, allocations: 23.81 kB / 0.9574 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3262, allocations: 405.9 kB / 0.9578 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3275, allocations: 453.6 kB / 0.9582 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3286, allocations: 371 kB / 0.9586 GB, free: 324 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.3298, allocations: 0.9135 MB / 0.9595 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.3304, allocations: 350.5 kB / 0.9598 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.3311, allocations: 342.6 kB / 0.9602 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.3317, allocations: 350.5 kB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3318, allocations: 36 kB / 0.9605 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.3327, allocations: 395.1 kB / 0.9609 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.3329, allocations: 183.4 kB / 0.9611 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.3334, allocations: 318.2 kB / 0.9614 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3346, allocations: 0.8762 MB / 0.9622 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3346, allocations: 0 / 0.9622 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3346, allocations: 3.938 kB / 0.9622 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.008e-05/0.3347, allocations: 4 kB / 0.9622 GB, free: 12.57 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001628/0.3363, allocations: 0.9385 MB / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3364, allocations: 12.03 kB / 0.9632 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.3377, allocations: 203.8 kB / 0.9634 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.3384, allocations: 494.3 kB / 0.9638 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3385, allocations: 29.38 kB / 0.9639 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/0.3386, allocations: 44.36 kB / 0.9639 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3397, allocations: 0.8485 MB / 0.9647 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.3397, allocations: 7.938 kB / 0.9647 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.3398, allocations: 27.92 kB / 0.9648 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.3399, allocations: 64.95 kB / 0.9648 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.3408, allocations: 0.5695 MB / 0.9654 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.3454, allocations: 5.654 MB / 0.9709 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/0.3461, allocations: 454.3 kB / 0.9713 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3464, allocations: 232.7 kB / 0.9716 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3464, allocations: 4 kB / 0.9716 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3465, allocations: 34.56 kB / 0.9716 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 2.043e-06/0.3465, allocations: 0 / 0.9716 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002576/0.349, allocations: 1.508 MB / 0.9731 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3491, allocations: 55.69 kB / 0.9731 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.3497, allocations: 0.495 MB / 0.9736 GB, free: 152 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3497, allocations: 29.7 kB / 0.9736 GB, free: 116 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.35, allocations: 354.8 kB / 0.974 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.3501, allocations: 114.4 kB / 0.9741 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3502, allocations: 110.2 kB / 0.9742 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3504, allocations: 366.8 kB / 0.9745 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3507, allocations: 193.2 kB / 0.9747 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.3511, allocations: 451.3 kB / 0.9752 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.3519, allocations: 0.6916 MB / 0.9758 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3519, allocations: 0 / 0.9758 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001334/0.3533, allocations: 0.8092 MB / 0.9766 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3533, allocations: 8 kB / 0.9766 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3533, allocations: 8 kB / 0.9766 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.3538, allocations: 156.5 kB / 0.9768 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3543, allocations: 123.8 kB / 0.9769 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.3577, allocations: 4.344 MB / 0.9811 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.3581, allocations: 35.97 kB / 0.9812 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.3582, allocations: 32.16 kB / 0.9812 GB, free: 7.648 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002854/0.3585, allocations: 209.6 kB / 0.9814 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.3586, allocations: 63.25 kB / 0.9815 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3596, allocations: 0.6007 MB / 0.9821 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3597, allocations: 7.938 kB / 0.9821 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3597, allocations: 0 / 0.9821 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3597, allocations: 3.984 kB / 0.9821 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.3615, allocations: 1.257 MB / 0.9833 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3616, allocations: 4 kB / 0.9833 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3618, allocations: 63.88 kB / 0.9834 GB, free: 5.316 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.3623, allocations: 136.4 kB / 0.9835 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3623, allocations: 7.938 kB / 0.9835 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.3656, allocations: 4.336 MB / 0.9877 GB, free: 416 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3657, allocations: 4.156 kB / 0.9877 GB, free: 412 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3667, allocations: 0.7119 MB / 0.9884 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.367, allocations: 168.3 kB / 0.9886 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.3671, allocations: 8 kB / 0.9886 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3673, allocations: 19.97 kB / 0.9886 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3674, allocations: 39.91 kB / 0.9887 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3675, allocations: 8 kB / 0.9887 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003731/0.3678, allocations: 338.8 kB / 0.989 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3678, allocations: 0 / 0.989 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006747/0.3685, allocations: 140 kB / 0.9891 GB, free: 14.91 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.3687, allocations: 112.6 kB / 0.9892 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.3702, allocations: 1.079 MB / 0.9903 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3703, allocations: 0 / 0.9903 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.3711, allocations: 0.7385 MB / 0.991 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009951/0.3721, allocations: 196.2 kB / 0.9912 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3739, allocations: 1.091 MB / 0.9923 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.3744, allocations: 0.898 MB / 0.9931 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3745, allocations: 47.44 kB / 0.9932 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.3745, allocations: 0 / 0.9932 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.0208/0.3953, allocations: 17.99 MB / 1.011 GB, free: 8.547 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches