Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001285, allocations: 189.3 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.523 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.35/2.35, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.84 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6615, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01733/0.6789, allocations: 15.91 MB / 0.9646 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.6901, allocations: 4.787 MB / 0.9693 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.6923, allocations: 59.09 kB / 0.9694 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003307/0.6957, allocations: 0.9621 MB / 0.9703 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.6983, allocations: 0.6832 MB / 0.971 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.7012, allocations: 0.8352 MB / 0.9718 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005685/0.7069, allocations: 3.628 MB / 0.9753 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.7171, allocations: 5.838 MB / 0.981 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.7203, allocations: 1.605 MB / 0.9826 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.7237, allocations: 1.862 MB / 0.9844 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.7248, allocations: 340 kB / 0.9848 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.7271, allocations: 0.7919 MB / 0.9855 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.7293, allocations: 1.333 MB / 0.9868 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.7327, allocations: 1.451 MB / 0.9882 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.7389, allocations: 5.142 MB / 0.9933 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.739, allocations: 0 / 0.9933 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.044e-06/0.739, allocations: 0 / 0.9933 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001847/0.7392, allocations: 0 / 0.9933 GB, free: 4.695 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005727/0.7449, allocations: 2.654 MB / 0.9959 GB, free: 1.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.745, allocations: 12.03 kB / 0.9959 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004078/0.749, allocations: 0.8251 MB / 0.9967 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.7518, allocations: 1.497 MB / 0.9981 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7519, allocations: 177.1 kB / 0.9983 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004118/0.7523, allocations: 236.3 kB / 0.9985 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/0.7601, allocations: 4.163 MB / 1.003 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/0.7602, allocations: 7.906 kB / 1.003 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.7604, allocations: 108 kB / 1.003 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.7607, allocations: 164.5 kB / 1.003 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006129/0.7668, allocations: 3.632 MB / 1.006 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.7857, allocations: 16.55 MB / 1.023 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.7895, allocations: 2.3 MB / 1.025 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.7904, allocations: 0.5702 MB / 1.025 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.7906, allocations: 101.6 kB / 1.025 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7906, allocations: 39.12 kB / 1.026 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 4.338e-06/0.7907, allocations: 0 / 1.026 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.005659/0.7963, allocations: 3.42 MB / 1.029 GB, free: 14.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.7964, allocations: 119.4 kB / 1.029 GB, free: 14.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.7977, allocations: 1.022 MB / 1.03 GB, free: 13.01 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.7977, allocations: 37.7 kB / 1.03 GB, free: 12.96 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006824/0.7984, allocations: 1.103 MB / 1.031 GB, free: 11.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.7987, allocations: 276.1 kB / 1.031 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.7991, allocations: 275.2 kB / 1.032 GB, free: 11.3 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7993, allocations: 410.7 kB / 1.032 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.8002, allocations: 0.6167 MB / 1.033 GB, free: 10.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.8015, allocations: 1.193 MB / 1.034 GB, free: 8.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.8038, allocations: 1.86 MB / 1.036 GB, free: 6.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.8038, allocations: 8 kB / 1.036 GB, free: 6.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003176/0.807, allocations: 2.014 MB / 1.038 GB, free: 4.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.8071, allocations: 14.34 kB / 1.038 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.8071, allocations: 20.62 kB / 1.038 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.8076, allocations: 167.3 kB / 1.038 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.8087, allocations: 343.4 kB / 1.038 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.343e-05/0.8088, allocations: 43.84 kB / 1.038 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.81, allocations: 135.8 kB / 1.038 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.8102, allocations: 71.94 kB / 1.038 GB, free: 3.867 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001679/0.8118, allocations: 0.9732 MB / 1.039 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.8121, allocations: 122.6 kB / 1.039 GB, free: 2.762 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.8142, allocations: 1.226 MB / 1.041 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.8143, allocations: 11.94 kB / 1.041 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.8143, allocations: 0 / 1.041 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.8143, allocations: 7.984 kB / 1.041 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.8199, allocations: 3.807 MB / 1.044 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.8199, allocations: 4 kB / 1.044 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.8206, allocations: 155.7 kB / 1.044 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.821, allocations: 151.5 kB / 1.045 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.821, allocations: 15.98 kB / 1.045 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.281e-05/0.8211, allocations: 11.94 kB / 1.045 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.8211, allocations: 0 / 1.045 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.8232, allocations: 1.472 MB / 1.046 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.8237, allocations: 271.8 kB / 1.046 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.8238, allocations: 19.91 kB / 1.046 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/0.8246, allocations: 67.91 kB / 1.046 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8247, allocations: 64.36 kB / 1.046 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.8248, allocations: 27.98 kB / 1.047 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001037/0.8258, allocations: 0.6953 MB / 1.047 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.01e-07/0.8259, allocations: 0 / 1.047 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001566/0.8274, allocations: 388 kB / 1.048 GB, free: 10.11 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.8277, allocations: 127.6 kB / 1.048 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.8308, allocations: 2.012 MB / 1.05 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8308, allocations: 0 / 1.05 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.8318, allocations: 0.8619 MB / 1.05 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.8334, allocations: 261.2 kB / 1.051 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/0.8403, allocations: 4.82 MB / 1.055 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.8421, allocations: 1.916 MB / 1.057 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001193/0.8433, allocations: 457.6 kB / 1.058 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.8436, allocations: 83.42 kB / 1.058 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.8436, allocations: 3.938 kB / 1.058 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.02613/0.8697, allocations: 13.3 MB / 1.071 GB, free: 2.145 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches