Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001611/0.001611, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.385/2.385, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.52 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2882, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007049/0.2953, allocations: 4.909 MB / 0.9559 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.2994, allocations: 2.479 MB / 0.9583 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.2997, allocations: 27.81 kB / 0.9584 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.301, allocations: 405.9 kB / 0.9587 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.3021, allocations: 441.6 kB / 0.9592 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.303, allocations: 406.9 kB / 0.9596 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3042, allocations: 0.9251 MB / 0.9605 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/0.3048, allocations: 346.5 kB / 0.9608 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.3054, allocations: 350.6 kB / 0.9611 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.3059, allocations: 350.4 kB / 0.9615 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.3059, allocations: 40 kB / 0.9615 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.3067, allocations: 399.1 kB / 0.9619 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3069, allocations: 187.4 kB / 0.9621 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.3072, allocations: 318.3 kB / 0.9624 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009297/0.3082, allocations: 0.8914 MB / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3082, allocations: 0 / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3082, allocations: 0 / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3082, allocations: 4 kB / 0.9632 GB, free: 11.59 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.3098, allocations: 0.9473 MB / 0.9642 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3099, allocations: 8.031 kB / 0.9642 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3113, allocations: 211.7 kB / 0.9644 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.3123, allocations: 0.549 MB / 0.9649 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.3123, allocations: 29.38 kB / 0.9649 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.3124, allocations: 48.36 kB / 0.965 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.3136, allocations: 0.8448 MB / 0.9658 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3136, allocations: 3.938 kB / 0.9658 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.209e-05/0.3136, allocations: 23.98 kB / 0.9658 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.573e-05/0.3138, allocations: 76.89 kB / 0.9659 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008165/0.3146, allocations: 0.5578 MB / 0.9665 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.3194, allocations: 5.65 MB / 0.972 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.3201, allocations: 454.3 kB / 0.9724 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.3205, allocations: 228.7 kB / 0.9726 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.3205, allocations: 4 kB / 0.9726 GB, free: 1.336 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3205, allocations: 38.56 kB / 0.9727 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.3205, allocations: 0 / 0.9727 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002486/0.323, allocations: 1.512 MB / 0.9741 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.3231, allocations: 55.69 kB / 0.9742 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.3237, allocations: 0.5029 MB / 0.9747 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3237, allocations: 29.7 kB / 0.9747 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.3242, allocations: 362.8 kB / 0.9751 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.3243, allocations: 114.4 kB / 0.9752 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3244, allocations: 114.2 kB / 0.9753 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.3247, allocations: 366.8 kB / 0.9756 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.325, allocations: 197.2 kB / 0.9758 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.3255, allocations: 443.3 kB / 0.9762 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.3263, allocations: 0.6915 MB / 0.9769 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3263, allocations: 7.938 kB / 0.9769 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001213/0.3275, allocations: 0.8088 MB / 0.9777 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.3275, allocations: 8 kB / 0.9777 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3276, allocations: 8.844 kB / 0.9777 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.3281, allocations: 160 kB / 0.9779 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.3285, allocations: 123.8 kB / 0.978 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.3324, allocations: 4.34 MB / 0.9822 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.3328, allocations: 36.12 kB / 0.9823 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.3329, allocations: 32 kB / 0.9823 GB, free: 6.559 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.0003349/0.3332, allocations: 215.5 kB / 0.9825 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.3333, allocations: 63.25 kB / 0.9826 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3344, allocations: 0.6009 MB / 0.9831 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3344, allocations: 0 / 0.9831 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3344, allocations: 4 kB / 0.9832 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3344, allocations: 0 / 0.9832 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.3362, allocations: 1.265 MB / 0.9844 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3362, allocations: 7.938 kB / 0.9844 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3365, allocations: 51.89 kB / 0.9844 GB, free: 4.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003841/0.3369, allocations: 148.4 kB / 0.9846 GB, free: 4.07 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3369, allocations: 7.938 kB / 0.9846 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.3402, allocations: 4.328 MB / 0.9888 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3402, allocations: 4.031 kB / 0.9888 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3414, allocations: 0.7159 MB / 0.9895 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.3417, allocations: 168.3 kB / 0.9897 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.3418, allocations: 11.98 kB / 0.9897 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.342, allocations: 19.97 kB / 0.9897 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.3421, allocations: 31.91 kB / 0.9897 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3421, allocations: 12 kB / 0.9898 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003974/0.3425, allocations: 346.8 kB / 0.9901 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3426, allocations: 0 / 0.9901 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007014/0.3433, allocations: 140 kB / 0.9902 GB, free: 13.81 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.000172/0.3434, allocations: 107.2 kB / 0.9903 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.3449, allocations: 1.04 MB / 0.9913 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3449, allocations: 4 kB / 0.9913 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000803/0.3457, allocations: 0.7301 MB / 0.9921 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.3466, allocations: 199.7 kB / 0.9922 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3483, allocations: 1.049 MB / 0.9933 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.3489, allocations: 0.9059 MB / 0.9942 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.3492, allocations: 117.3 kB / 0.9943 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.3493, allocations: 39.44 kB / 0.9943 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/0.3493, allocations: 0 / 0.9943 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.01435/0.3636, allocations: 7.615 MB / 1.002 GB, free: 1.855 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches